Created
January 31, 2013 10:47
-
-
Save bububa/4682063 to your computer and use it in GitHub Desktop.
Nginx限制ip连接数和流量控制
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http { | |
limit_conn_zone $binary_remote_addr zone=perip:10m; | |
server { | |
...... | |
location { | |
limit_conn perip 10; | |
} | |
...... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
收集