Skip to content

Commit

Permalink
disable WAF on cdh applications
Browse files Browse the repository at this point in the history
the loadbalancer enabled WAF. This PR disables it on the following
production pages

related to #5561

Co-authored-by: Vickie Karasic <[email protected]>
  • Loading branch information
kayiwa and VickieKarasic committed Dec 4, 2024
1 parent 4f313e0 commit ef55376
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions roles/nginxplus/files/conf/http/cdh_prod_derrida.conf
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ server {
ssl_prefer_server_ciphers on;

location / {
# # app_protect_enable on;
# # app_protect_security_log_enable on;
app_protect_enable off;
app_protect_security_log_enable on;
proxy_pass http://cdh_derrida;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $host;
Expand Down
1 change: 1 addition & 0 deletions roles/nginxplus/files/conf/http/cdh_prod_geniza.conf
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ server {
ssl_prefer_server_ciphers on;

location / {
app_protect_enable off;
proxy_pass http://geniza_prod;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $host;
Expand Down
4 changes: 2 additions & 2 deletions roles/nginxplus/files/conf/http/cdh_prod_prodigy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ server {
ssl_prefer_server_ciphers on;

location / {
# # app_protect_enable on;
# app_protect_security_log_enable on;
app_protect_enable off;
app_protect_security_log_enable on;
proxy_pass http://prodigy;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $host;
Expand Down
4 changes: 2 additions & 2 deletions roles/nginxplus/files/conf/http/cdh_prod_prosody.conf
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ server {
ssl_prefer_server_ciphers on;

location / {
# # app_protect_enable on;
# app_protect_security_log_enable on;
app_protect_enable off;
app_protect_security_log_enable on;
proxy_pass http://prosody;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $host;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ server {
ssl_prefer_server_ciphers on;

location / {
app_protect_enable off;
proxy_pass http://shxco_prod;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $host;
Expand Down
1 change: 1 addition & 0 deletions roles/nginxplus/files/conf/http/cdh_prod_web.conf
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ server {
}

location /sitemap.xml {
app_protect_enable off;
proxy_pass http://prod_cdhweb;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $host;
Expand Down

0 comments on commit ef55376

Please sign in to comment.