This commit is contained in:
728
2022-12-03 13:41:09 +08:00
parent db772ace74
commit 38f971bf6e
2 changed files with 7 additions and 9 deletions

View File

@ -40,6 +40,11 @@ http {
limit_req_zone $binary_remote_addr zone=addr_req:10m rate=100r/s;
limit_req_zone $h1_addr zone=h1_req:10m rate=10r/m;
limit_conn h1_conn 10;
limit_req zone=h1_req burst=5 nodelay;
limit_conn addr_conn 100;
limit_req zone=addr_req burst=20 nodelay;
types {
text/html html;
text/css css;
@ -58,12 +63,6 @@ http {
listen 80;
server_name ismist.cn localhost;
limit_conn h1_conn 10;
limit_req zone=h1_req burst=5 nodelay;
limit_conn addr_conn 100;
limit_req zone=addr_req burst=20 nodelay;
root ui;
location = / {

View File

@ -42,6 +42,8 @@ http {
limit_conn h1_conn 10;
limit_req zone=h1_req burst=5 nodelay;
limit_conn addr_conn 100;
limit_req zone=addr_req burst=20 nodelay;
types {
text/html html;
@ -82,9 +84,6 @@ http {
ssl_stapling on;
ssl_stapling_verify on;
limit_conn addr_conn 100;
limit_req zone=addr_req burst=20 nodelay;
root ui;
location = / {