From 38e4ed993b222fe670ce75c5f473652d08caee9f Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Fri, 24 Mar 2023 00:39:59 +0100 Subject: [PATCH] CT-Nextcloud: Updated headers in Nginx config Updated 'X-Robots-Tag' header in Nginx config to to comply with Nextcloud latest recommendations --- CT-Files/nextcloud/Configs/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CT-Files/nextcloud/Configs/nginx.conf b/CT-Files/nextcloud/Configs/nginx.conf index 0fc1430..6dc9a9f 100644 --- a/CT-Files/nextcloud/Configs/nginx.conf +++ b/CT-Files/nextcloud/Configs/nginx.conf @@ -40,7 +40,7 @@ http { add_header Referrer-Policy "no-referrer" always; add_header X-Download-Options "noopen" always; add_header X-Permitted-Cross-Domain-Policies "none" always; - add_header X-Robots-Tag "none" always; + add_header X-Robots-Tag "noindex, nofollow" always; fastcgi_send_timeout 300; fastcgi_read_timeout 300; fastcgi_hide_header X-Powered-By;