From 20a158c9169fff2faee672739be44f496d940325 Mon Sep 17 00:00:00 2001 From: DerFossiBaer <56678897+DerFossiBaer@users.noreply.github.com> Date: Sat, 8 Apr 2023 14:38:04 +0200 Subject: [PATCH] Update install-service.sh Fix X-Robots-Tag issue from NC 25.0.5/26.0.0 --- src/nextcloud/install-service.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nextcloud/install-service.sh b/src/nextcloud/install-service.sh index 4f7ab71..79d65c6 100644 --- a/src/nextcloud/install-service.sh +++ b/src/nextcloud/install-service.sh @@ -185,7 +185,7 @@ add_header X-Content-Type-Options "nosniff" always; add_header X-Download-Options "noopen" always; add_header X-Frame-Options "SAMEORIGIN" 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; add_header X-XSS-Protection "1; mode=block" always; fastcgi_hide_header X-Powered-By; fastcgi_read_timeout 3600;