Skip to content

Commit

Permalink
disable WAF for special collections
Browse files Browse the repository at this point in the history
disable the WAF but enable logging
related #5561

closes #5567
  • Loading branch information
kayiwa committed Nov 27, 2024
1 parent 124becb commit 76ae014
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/nginxplus/files/conf/http/dev/library_staging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,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://library-staging;
proxy_cache library-stagingcache;
# handle errors using errors.conf
Expand Down
2 changes: 2 additions & 0 deletions roles/nginxplus/files/conf/http/library-prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ server {
ssl_prefer_server_ciphers on;

location / {
app_protect_enable off;
app_protect_security_log_enable on;
proxy_pass http://library-prod;
# handle errors using errors.conf
proxy_intercept_errors on;
Expand Down

0 comments on commit 76ae014

Please sign in to comment.