working on improving #29
This commit is contained in:
parent
bd1a39f520
commit
453cff7c01
1 changed files with 8 additions and 0 deletions
|
@ -25,6 +25,14 @@ server {
|
|||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
include fastcgi_params;
|
||||
|
||||
fastcgi_hide_header Cross-Origin-Embedder-Policy;
|
||||
fastcgi_hide_header Cross-Origin-Resource-Policy;
|
||||
fastcgi_hide_header Cross-Origin-Opener-Policy;
|
||||
fastcgi_hide_header Referrer-Policy;
|
||||
fastcgi_hide_header X-Content-Type-Options;
|
||||
fastcgi_hide_header X-Frame-Options;
|
||||
fastcgi_hide_header X-XSS-Protection;
|
||||
|
||||
# Prevent exposing nginx + version to $_SERVER
|
||||
fastcgi_param SERVER_SOFTWARE "";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue