From 078e996bcb1b72e16eb1305057df6a4f55aff4c0 Mon Sep 17 00:00:00 2001 From: Daniel Peukert Date: Sat, 15 Jul 2023 17:27:57 +0200 Subject: [PATCH] Change X-Robots-Tag value to "noindex, nofollow" --- rootfs/tpls/etc/nginx/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootfs/tpls/etc/nginx/nginx.conf b/rootfs/tpls/etc/nginx/nginx.conf index 2a093e5..ec69da5 100644 --- a/rootfs/tpls/etc/nginx/nginx.conf +++ b/rootfs/tpls/etc/nginx/nginx.conf @@ -84,7 +84,7 @@ http { add_header X-Download-Options "noopen" always; add_header X-Frame-Options "@XFRAME_OPTS_HEADER@" 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; # Remove X-Powered-By, which is an information leak @@ -169,7 +169,7 @@ http { add_header X-Download-Options "noopen" always; add_header X-Frame-Options "@XFRAME_OPTS_HEADER@" 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; access_log off;