Skip to content

Commit 41a33ed

Browse files
ALCS-2601: Adjust nginx config for WAVA scan results
1 parent 7903021 commit 41a33ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

alcs-frontend/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ http {
1010
gzip_disable "MSIE [1-6]\.";
1111

1212
server_tokens off;
13-
more_clear_headers Server;
13+
proxy_hide_header Server;
1414
proxy_cookie_path / "/; secure; HttpOnly; SameSite=lax";
1515

1616
include /etc/nginx/mime.types;

portal-frontend/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ http {
1010
gzip_disable "MSIE [1-6]\.";
1111

1212
server_tokens off;
13-
more_clear_headers Server;
13+
proxy_hide_header Server;
1414
proxy_cookie_path / "/; secure; HttpOnly; SameSite=lax";
1515

1616
include /etc/nginx/mime.types;

0 commit comments

Comments
 (0)