Merge pull request #852 from LouisMT/nginx-referrer-policy

Set Referrer-Policy header for nginx installation docs
This commit is contained in:
John Molakvoæ 2018-09-10 10:05:55 +02:00 committed by GitHub
commit a18c30d55d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,6 +74,7 @@ webroot of your nginx installation. In this example it is
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
add_header Referrer-Policy no-referrer;
# Remove X-Powered-By, which is an information leak
fastcgi_hide_header X-Powered-By;
@ -219,6 +220,7 @@ your nginx installation.
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
add_header Referrer-Policy no-referrer;
# Remove X-Powered-By, which is an information leak
fastcgi_hide_header X-Powered-By;