Skip to content

Instantly share code, notes, and snippets.

@adamenger
Created January 22, 2015 20:32
Show Gist options
  • Save adamenger/3e9b867db7dece6fe09e to your computer and use it in GitHub Desktop.
Save adamenger/3e9b867db7dece6fe09e to your computer and use it in GitHub Desktop.
limit_req in server
server {
# ... your vhost conf here
limit_req zone=global_zone;
location / {
root /srv/www;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment