Fix attachment contract and reconcile storage safely across API replicas
This commit is contained in:
+4
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user