Skip to content

Commit 0680f29

Browse files
authored
Merge pull request #223182 from dotlambda/nextcloud-x-robots-tag
nixos/nextcloud: set X-Robots-Tag to "noindex, nofollow"
2 parents ace7a85 + 15b859c commit 0680f29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nixos/modules/services/web-apps/nextcloud.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,7 @@ in {
11121112
${optionalString (cfg.nginx.recommendedHttpHeaders) ''
11131113
add_header X-Content-Type-Options nosniff;
11141114
add_header X-XSS-Protection "1; mode=block";
1115-
add_header X-Robots-Tag none;
1115+
add_header X-Robots-Tag "noindex, nofollow";
11161116
add_header X-Download-Options noopen;
11171117
add_header X-Permitted-Cross-Domain-Policies none;
11181118
add_header X-Frame-Options sameorigin;

0 commit comments

Comments
 (0)