Skip to content

Instantly share code, notes, and snippets.

@leandromoreira

leandromoreira/acl.lua

Last active Jun 6, 2020
Embed
What would you like to do?
if ngx.var.remote_addr == "192.168.0.253" then
return ngx.exit(ngx.HTTP_FORBIDDEN)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.