Skip to content

Commit e410d08

Browse files
authored
Merge pull request #127 from dpeukert/patch-1
Change X-Robots-Tag value to "noindex, nofollow"
2 parents 5f70a17 + 078e996 commit e410d08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rootfs/tpls/etc/nginx/nginx.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ http {
8484
add_header X-Download-Options "noopen" always;
8585
add_header X-Frame-Options "@XFRAME_OPTS_HEADER@" always;
8686
add_header X-Permitted-Cross-Domain-Policies "none" always;
87-
add_header X-Robots-Tag "none" always;
87+
add_header X-Robots-Tag "noindex, nofollow" always;
8888
add_header X-XSS-Protection "1; mode=block" always;
8989

9090
# Remove X-Powered-By, which is an information leak
@@ -169,7 +169,7 @@ http {
169169
add_header X-Download-Options "noopen" always;
170170
add_header X-Frame-Options "@XFRAME_OPTS_HEADER@" always;
171171
add_header X-Permitted-Cross-Domain-Policies "none" always;
172-
add_header X-Robots-Tag "none" always;
172+
add_header X-Robots-Tag "noindex, nofollow" always;
173173
add_header X-XSS-Protection "1; mode=block" always;
174174
access_log off;
175175

0 commit comments

Comments
 (0)