Set Referrer-Policy header for nginx installation docs

This commit is contained in:
Louis Matthijssen 2018-09-09 21:33:35 +02:00 committed by Tilo Spannagel
parent 665c7368d8
commit aaae7ad92e
No known key found for this signature in database
GPG Key ID: E517E9F206B8993D

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;