From 69083addc696cf2c9135825908f9090cabad1537 Mon Sep 17 00:00:00 2001 From: Edison Garcia Chinas Date: Mon, 27 Feb 2023 14:32:39 -0600 Subject: [PATCH] Nginx headers --- _posts/2023-02-24-how-to-modify-nginx-headers.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/_posts/2023-02-24-how-to-modify-nginx-headers.md b/_posts/2023-02-24-how-to-modify-nginx-headers.md index a34ebe7a..a58ba08b 100644 --- a/_posts/2023-02-24-how-to-modify-nginx-headers.md +++ b/_posts/2023-02-24-how-to-modify-nginx-headers.md @@ -131,4 +131,8 @@ You can use `add_header` directive to add security headers that your server need 3. Save (`Control + o`) and then `Enter` and close (`Control + x`) 4. Restart nginx with `sudo service nginx restart` and test the configuration with `sudo nginx -t` for any typo or issue. ->Note: If you are using Let's encrypt, cerbot will add this configuration `include /etc/letsencrypt/options-ssl-nginx.conf` which can be conflicting with security headers, review if there is any header that is overwritten in this file. \ No newline at end of file +>Note: If you are using Let's encrypt, cerbot will add this configuration `include /etc/letsencrypt/options-ssl-nginx.conf` which can be conflicting with security headers, review if there is any header that is overwritten in this file. + +# Additional references +You can find other ways to edit response headers in App Service Linux using code, or services as Application Gateway, Azure Front Door, etc in this reference. +["Editing Response Headers on Linux App Service"](https://azureossd.github.io/2022/05/25/Editing-Response-Headers-on-Linux-App-Service/index.html) \ No newline at end of file