Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
yoho-ansible-roles
·
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
2019-05-05 10:50:35 +0800
Commit
46e82f80871cc5279c35493c1529f0315bb0ea38
1 parent
14d872ab
add new comments
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
roles/openresty/files/java-nginx-config/nginx/conf/lua/limit_local_access.lua
roles/openresty/files/java-nginx-config/nginx/conf/lua/limit_local_access.lua
View file @
46e82f8
-- author: chunhua.zhang
-- only allow request from local ip
-- depends on param: [ngx.var.real_ip], which should be setted up by 'setup.lua'
local
iptool
=
require
"iptool"
local
http_request
=
require
"http_request"
...
...
Please
register
or
login
to post a comment