Skip to content

Commit

Permalink
enable WAF logging (#5566)
Browse files Browse the repository at this point in the history
our waf is currently not logging. This will enable logs to be written
under the app_protect directory
  • Loading branch information
kayiwa authored Dec 2, 2024
1 parent f239835 commit 6bf2540
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/nginxplus/templates/etc_nginx.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ http {
keepalive_timeout 65;
app_protect_enable on;
app_protect_security_log_enable on;
app_protect_security_log "/etc/app_protect/conf/log_default.json" /var/log/app_protect/security.log;

# app_protect_security_log log_all;

#gzip on;
Expand Down

0 comments on commit 6bf2540

Please sign in to comment.