fix: noindex, nofollow instead of none robots header #37

Merged
p4u1 merged 1 commits from p4u1/nextcloud:robots into main 2023-12-19 14:50:47 +00:00

View File

@ -63,7 +63,7 @@ http {
add_header X-Content-Type-Options "nosniff" 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;
add_header X-XSS-Protection "1; mode=block" always;
{{ if eq (env "X_FRAME_OPTIONS_ENABLED") "1" }}