后台管理 -> 订单管理完成;nginx配置文件限制ip并发数
This commit is contained in:
@@ -4,6 +4,13 @@ server
|
||||
listen 80;
|
||||
listen 443 ssl http2;
|
||||
|
||||
# 并发限制 限制当前站点最大并发数
|
||||
limit_conn perserver 50;
|
||||
# 单IP限制 限制单个IP访问最大并发数
|
||||
limit_conn perip 10;
|
||||
# 流量限制 限制每个请求的流量上限(单位:KB)
|
||||
limit_rate 8192k;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:5203;
|
||||
|
||||
|
Reference in New Issue
Block a user