Merge pull request #223182 from dotlambda/nextcloud-x-robots-tag

nixos/nextcloud: set X-Robots-Tag to "noindex, nofollow"
This commit is contained in:
Maximilian Bosch 2023-03-26 15:29:55 +02:00 committed by GitHub
commit 0680f297f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;