1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

后台管理 -> 订单管理完成;nginx配置文件限制ip并发数

This commit is contained in:
2023-04-23 00:52:43 +08:00
parent 152ff7d8e5
commit 83f424b80f
23 changed files with 696 additions and 32 deletions

View File

@@ -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;