Skip to content

Commit 38e3885

Browse files
minecrawlerMichaIng
authored andcommitted
Disable XSS-Protection Header
see notes: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection Signed-off-by: Maru Alka <[email protected]>
1 parent 11712cb commit 38e3885

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

admin_manual/installation/nginx-root.conf.sample

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ server {
7979
add_header X-Frame-Options "SAMEORIGIN" always;
8080
add_header X-Permitted-Cross-Domain-Policies "none" always;
8181
add_header X-Robots-Tag "noindex, nofollow" always;
82-
add_header X-XSS-Protection "1; mode=block" always;
8382

8483
# Remove X-Powered-By, which is an information leak
8584
fastcgi_hide_header X-Powered-By;

admin_manual/installation/nginx-subdir.conf.sample

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ server {
111111
add_header X-Frame-Options "SAMEORIGIN" always;
112112
add_header X-Permitted-Cross-Domain-Policies "none" always;
113113
add_header X-Robots-Tag "noindex, nofollow" always;
114-
add_header X-XSS-Protection "1; mode=block" always;
115114

116115
# Remove X-Powered-By, which is an information leak
117116
fastcgi_hide_header X-Powered-By;

0 commit comments

Comments
 (0)