Skip to content

Instantly share code, notes, and snippets.

@yusureabc
Created June 24, 2019 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yusureabc/68f13d5e8e86398c599b8ebfec80f612 to your computer and use it in GitHub Desktop.
Save yusureabc/68f13d5e8e86398c599b8ebfec80f612 to your computer and use it in GitHub Desktop.
if ($remote_addr !~ ^(100.110.15.16|100.110.15.17|100.110.15.18|127.0.0.1)) {
return 403;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment