Skip to content

Instantly share code, notes, and snippets.

@ShenXuGongZi
Last active April 13, 2016 06:59
Show Gist options
  • Save ShenXuGongZi/ac7c52d9826a22c77053bdb950951975 to your computer and use it in GitHub Desktop.
Save ShenXuGongZi/ac7c52d9826a22c77053bdb950951975 to your computer and use it in GitHub Desktop.
http{
...
limit_zone one $binary_remote_addr 10m;
...
server{
listen 80;
....
location/{
limit_conn one 5; #限制连接数
limit_rate 500k; # 限制速度
}
}
#免费SS https://miaoss.net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment