update nginx conf https://docs.nextcloud.com/server/14/admin_manual/installation/nginx.html
1 parent 770740a commit a14b19406853fd839424c746b12476a74ee1628c
@Pascal Gollor Pascal Gollor authored on 11 Oct 2018
Showing 1 changed file
View
8
docker/web/nginx.conf
add_header X-XSS-Protection "1; mode=block";
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;
 
# Remove X-Powered-By, which is an information leak
fastcgi_hide_header X-Powered-By;
 
# Path to the root of your installation
root /var/www/html;
 
location = /robots.txt {
allow all;