Commit 6a2614aa by Max ZHANG

change config lua

1 parent d2507bcd
Showing with 2 additions and 2 deletions
......@@ -3,9 +3,9 @@
--waf status # waf 开关
config_waf_enable = "on"
--log dir
config_log_dir = "/usr/local/nginx/logs"
config_log_dir = "/data/logs/nginx/waf/"
--rule setting
config_rule_dir = "/usr/local/nginx/conf/waf/rule-config"
config_rule_dir = "/usr/local/nginx/conf/conf.d/waf/rule-config"
--set ip addr from: X_Forwarded_For X_real_ip[header] or ngx.var.remote_addr
config_set_ip_addr = "X_Forwarded_For"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!