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
6 years ago
Commit
882ae165b915832f1ff918c86b074ecb65d2cb82
1 parent
6856715c
pcall
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 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 @
882ae16
...
...
@@ -37,4 +37,8 @@ function check_local_access()
end
end
check_local_access
()
---- running------
local
status
,
errMsg
=
pcall
(
check_local_access
)
if
not
status
then
ngx
.
log
(
ngx
.
ERR
,
"call method [check_local_access] failed."
,
errMsg
)
end
...
...
Please
register
or
login
to post a comment