Skip to content

Commit

Permalink
Merge pull request #127 from dpeukert/patch-1
Browse files Browse the repository at this point in the history
Change X-Robots-Tag value to "noindex, nofollow"
  • Loading branch information
crazy-max authored Jul 15, 2023
2 parents 5f70a17 + 078e996 commit e410d08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rootfs/tpls/etc/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ http {
add_header X-Download-Options "noopen" always;
add_header X-Frame-Options "@XFRAME_OPTS_HEADER@" 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;

# Remove X-Powered-By, which is an information leak
Expand Down Expand Up @@ -169,7 +169,7 @@ http {
add_header X-Download-Options "noopen" always;
add_header X-Frame-Options "@XFRAME_OPTS_HEADER@" 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;
access_log off;

Expand Down

0 comments on commit e410d08

Please sign in to comment.