Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
edetmt
/
nginx-lua
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6a2614aa
authored
May 19, 2020
by
Max ZHANG
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change config lua
1 parent
d2507bcd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
config.lua
config.lua
View file @
6a2614a
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment