diff --git a/static/nginx/nginx.conf b/static/nginx/nginx.conf index 333a3d4..150c5da 100755 --- a/static/nginx/nginx.conf +++ b/static/nginx/nginx.conf @@ -65,31 +65,31 @@ http { # Timeouts ================================================================================================================== # 'Body' and 'Header' max response timings. If neither a body or header is sent, the server will issue a 408 error or Request time out. (Default: 60s) - client_body_timeout 12; - client_header_timeout 12; + client_body_timeout 25; + client_header_timeout 25; # Assigns the timeout for keep-alive connections with the client. # Simply put, Nginx will close connections with the client after this period of time.(Default: 65) - keepalive_timeout 20s; + keepalive_timeout 40s; # Finally, the send_timeout is established not on the entire transfer of answer, but only between two operations of reading; # if after this time client will take nothing, then Nginx is shutting down the connection. - send_timeout 10s; + send_timeout 50s; # Sets a timeout for name resolution. (Default: 30s) - resolver_timeout 5s; + resolver_timeout 30s; # Timeout period for connection with FastCGI-server. It should be noted that this value can't exceed 75 seconds. (Default: 60s) - fastcgi_connect_timeout 5s; + fastcgi_connect_timeout 60s; # Amount of time for upstream to wait for a fastcgi process to send data. # Change this directive if you have long running fastcgi processes that do not produce output until they have finished processing. # If you are seeing an upstream timed out error in the error log, then increase this parameter to something more appropriate. (Default: 60s) - fastcgi_read_timeout 40s; + fastcgi_read_timeout 60s; # Request timeout to the server. The timeout is calculated between two write operations, not for the whole request. # If no data have been written during this period then serve closes the connection. (Default: 60s) - fastcgi_send_timeout 15s; + fastcgi_send_timeout 60s; # WebSockets =============================================================================================================== diff --git a/static/nginx/site.conf b/static/nginx/site.conf index f9fb8ff..3141f43 100755 --- a/static/nginx/site.conf +++ b/static/nginx/site.conf @@ -83,8 +83,8 @@ server { proxy_set_header X-Forwarded-Proto $scheme; proxy_read_timeout 8h; - proxy_send_timeout 5s; - proxy_connect_timeout 3s; + proxy_send_timeout 60s; + proxy_connect_timeout 60s; proxy_buffering off; } # static sources