Adding security headers for NginX
This commit is contained in:
@@ -7,3 +7,7 @@ proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_hide_header Strict-Transport-Security;
|
||||
proxy_hide_header X-Frame-Options;
|
||||
proxy_hide_header X-Xss-Protection;
|
||||
proxy_hide_header X-Content-Type-Options;
|
||||
|
||||
|
Reference in New Issue
Block a user