Merge pull request #223182 from dotlambda/nextcloud-x-robots-tag
nixos/nextcloud: set X-Robots-Tag to "noindex, nofollow"
This commit is contained in:
commit
0680f297f1
1 changed files with 1 additions and 1 deletions
|
@ -1112,7 +1112,7 @@ in {
|
|||
${optionalString (cfg.nginx.recommendedHttpHeaders) ''
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
add_header X-XSS-Protection "1; mode=block";
|
||||
add_header X-Robots-Tag none;
|
||||
add_header X-Robots-Tag "noindex, nofollow";
|
||||
add_header X-Download-Options noopen;
|
||||
add_header X-Permitted-Cross-Domain-Policies none;
|
||||
add_header X-Frame-Options sameorigin;
|
||||
|
|
Loading…
Reference in a new issue