From c651b2e419f95f472343264ef9f0ff52e1b361eb Mon Sep 17 00:00:00 2001 From: ObjectNotFound Date: Fri, 28 Feb 2025 08:44:50 +0000 Subject: [PATCH] update deploy/prod/nginx.conf.tmpl. Signed-off-by: ObjectNotFound --- deploy/prod/nginx.conf.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy/prod/nginx.conf.tmpl b/deploy/prod/nginx.conf.tmpl index 473a735..d14f201 100644 --- a/deploy/prod/nginx.conf.tmpl +++ b/deploy/prod/nginx.conf.tmpl @@ -93,7 +93,7 @@ http { location / { - limit_req zone=ratelimit burst=5 nodelay; + limit_req zone=ratelimit burst=50 nodelay; root /usr/share/nginx/html; try_files $uri $uri/ /index.html; if (!-e $request_filename){ @@ -102,14 +102,14 @@ http { } location /copilot { - limit_req zone=ratelimit burst=5 nodelay; + limit_req zone=ratelimit burst=50 nodelay; alias /usr/share/nginx/html; index index.html; try_files $uri $uri/ /index.html; } location /login { - limit_req zone=ratelimit burst=5 nodelay; + limit_req zone=ratelimit burst=50 nodelay; root /usr/share/nginx/html; try_files $uri $uri/ /index.html; } @@ -131,7 +131,7 @@ http { proxy_buffering off; proxy_intercept_errors on; error_page 404 /404.html; - limit_req zone=ratelimit burst=5 nodelay; + limit_req zone=ratelimit burst=15 nodelay; proxy_read_timeout 500s; proxy_connect_timeout 500s; -- Gitee