Fix attachment contract and reconcile storage safely across API replicas

This commit is contained in:
2026-11-06 17:41:30 +03:00
parent 057143dd91
commit cc0ef713ed
82 changed files with 1828 additions and 1054 deletions
+4 -2
View File
@@ -21,11 +21,13 @@ http {
listen 80;
server_name _;
client_max_body_size 1m;
client_max_body_size 0;
client_body_timeout 15s;
location / {
proxy_pass http://api_backend;
proxy_http_version 1.1;
proxy_request_buffering off;
proxy_set_header Connection "";
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $http_host;
@@ -34,7 +36,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 non_idempotent;
proxy_next_upstream error timeout http_502 http_504;
proxy_next_upstream_tries 3;
proxy_connect_timeout 1s;