Skip to content

Instantly share code, notes, and snippets.

@leandromoreira
Last active June 6, 2020 15:48
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save leandromoreira/557ac7c813aa5b9d66459d4f66bf2ae4 to your computer and use it in GitHub Desktop.
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