update nginx config

This commit is contained in:
Sebastian Hugentobler 2019-03-17 18:00:43 +01:00
parent 10107288d3
commit e78e56586c

View File

@ -15,6 +15,9 @@ 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 no-referrer;
fastcgi_hide_header X-Powered-By;
root /var/lib/nextcloud/; root /var/lib/nextcloud/;
@ -81,6 +84,8 @@ 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 no-referrer;
access_log off; access_log off;
} }