Skip to content

Instantly share code, notes, and snippets.

@bububa
Created January 31, 2013 10:47
Show Gist options
  • Select an option

  • Save bububa/4682063 to your computer and use it in GitHub Desktop.

Select an option

Save bububa/4682063 to your computer and use it in GitHub Desktop.
Nginx限制ip连接数和流量控制
http {
limit_conn_zone $binary_remote_addr zone=perip:10m;
server {
......
location {
limit_conn perip 10;
}
......
}
}
@huangjunque

Copy link
Copy Markdown

收集

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment