Skip to content

Instantly share code, notes, and snippets.

@vidluther
Created March 24, 2013 02:22
Show Gist options
  • Save vidluther/5230186 to your computer and use it in GitHub Desktop.
Save vidluther/5230186 to your computer and use it in GitHub Desktop.
Limit everything except GET requests from the outside world in nginx
location / {
limit_except GET {
deny all;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment