From b90017aad0594d1c739b2a1283948ceafd3e6ee6 Mon Sep 17 00:00:00 2001 From: lendry Date: Tue, 7 Jul 2026 17:04:59 +0300 Subject: [PATCH] fix file size limit --- install.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/install.sh b/install.sh index cae1bce..b9b5a71 100644 --- a/install.sh +++ b/install.sh @@ -2345,7 +2345,8 @@ nginx_proxy_headers_api=" proxy_set_header Host \$host; proxy_set_header Authorization \$http_authorization; proxy_http_version 1.1; proxy_set_header Connection \"\"; - proxy_read_timeout 300s; + proxy_read_timeout 900s; + proxy_send_timeout 900s; proxy_connect_timeout 5s; proxy_next_upstream error timeout http_502 http_503 http_504; proxy_next_upstream_tries 3;" @@ -2575,8 +2576,6 @@ ${proxy_ws} location ^~ /idp-api/ { client_max_body_size ${NGINX_RELEASE_UPLOAD_BODY_SIZE}; - proxy_read_timeout 900s; - proxy_send_timeout 900s; client_body_timeout 900s; ${proxy_idp} ${nginx_proxy_headers_api} @@ -2669,8 +2668,6 @@ ${proxy_ws} location ^~ /idp-api/ { client_max_body_size ${NGINX_RELEASE_UPLOAD_BODY_SIZE}; - proxy_read_timeout 900s; - proxy_send_timeout 900s; client_body_timeout 900s; ${proxy_idp} ${nginx_proxy_headers_api}