This commit is contained in:
2026-10-17 08:59:12 +03:00
parent 95aed3c25b
commit 7ffebe65d0
52 changed files with 1315 additions and 204 deletions
+3 -3
View File
@@ -13,8 +13,8 @@ http {
upstream api_backend {
zone api_backend 64k;
server api:8080 resolve max_fails=1 fail_timeout=15s;
keepalive 64;
server api:8080 resolve max_fails=1 fail_timeout=5s;
keepalive 32;
}
server {
@@ -34,7 +34,7 @@ http {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_next_upstream error timeout http_502 http_503 http_504;
proxy_next_upstream error timeout http_502 http_503 http_504 non_idempotent;
proxy_next_upstream_tries 3;
proxy_connect_timeout 1s;