Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
configuration
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
chunhua.zhang
2018-11-11 17:06:31 +0800
Commit
670855ea4c09393c363760f79721649a8cda0538
1 parent
1e28ed79
放开限流
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
nginx_common_conf.yml
nginx_limit_ip.yml
nginx_common_conf.yml
View file @
670855e
# 控制是否执行限流与黑白名单逻辑
# true: 执行, false:不执行
lua_golbal_switch
:
fals
e
lua_golbal_switch
:
tru
e
...
...
nginx_limit_ip.yml
View file @
670855e
#switch true:open,false:close
is_open
:
fals
e
is_open
:
tru
e
# white ip list use ip or ip and subnet mask,eg."172.16.6.230,172.16.6.230/16".
white_ips
:
-
"
172.31.0.0/16"
...
...
Please
register
or
login
to post a comment