Add Referrer-Policy header to second location

Signed-off-by: Tilo Spannagel <development@tilosp.de>
This commit is contained in:
Tilo Spannagel 2018-09-11 15:03:38 +02:00
parent aaae7ad92e
commit f70574fabe
No known key found for this signature in database
GPG Key ID: E517E9F206B8993D

View File

@ -168,6 +168,8 @@ 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;
# Optional: Don't log access to assets
access_log off;
}
@ -314,6 +316,8 @@ 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;
# Optional: Don't log access to assets
access_log off;
}