Added Referrer-Policy HTTP Security Header for Nextcloud Nginx.

This commit is contained in:
rokube 2018-03-01 09:47:39 +01:00
parent 69f894b4d3
commit 7c854f7e9c

View File

@ -10,6 +10,7 @@ server {
add_header X-Robots-Tag none; add_header X-Robots-Tag none;
add_header X-Download-Options noopen; add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none; add_header X-Permitted-Cross-Domain-Policies none;
add_header Referrer-Policy "same-origin";
location = /robots.txt { location = /robots.txt {
allow all; allow all;