Skip to content

Commit

Permalink
Merge pull request #223182 from dotlambda/nextcloud-x-robots-tag
Browse files Browse the repository at this point in the history
nixos/nextcloud: set X-Robots-Tag to "noindex, nofollow"
  • Loading branch information
Ma27 authored Mar 26, 2023
2 parents ace7a85 + 15b859c commit 0680f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/web-apps/nextcloud.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0680f29

Please sign in to comment.