@@ -264,7 +264,8 @@ autoindex_exact_size off;
264264charset utf-8;
265265charset_types application/atom+xml application/json application/ld+json application/rss+xml application/geo +json application/xml application/rdf+xml application/javascript application/wasm application/manifest+json application/x-web-app-manifest+json text/cache-manifest text/css text/csv text/plain text/x-component text/markdown text/calendar text/vcard text/vtt application/rtf application/pdf application/x-x509-ca-cert application/xhtml+xml application/xslt+xml application/schema+json;
266266client_body_buffer_size 64k ;
267- client_max_body_size 128m ;
267+ client_header_timeout 10s ;
268+ client_max_body_size 160m ;
268269# ignore_invalid_headers off;
269270index index .php index .html index .htm;
270271keepalive_timeout 15s ;
@@ -275,7 +276,8 @@ large_client_header_buffers 128 4k;
275276open_log_file_cache max=1024 ;
276277reset_timedout_connection on;
277278# resolver 1.1.1.1 1.0.0.1 8.8.8.8 8.8.4.4 ipv6=off;
278- resolver_timeout 15s ;
279+ resolver_timeout 5s ;
280+ send_timeout 30s ;
279281server_names_hash_bucket_size 64 ;
280282server_names_hash_max_size 4096 ;
281283server_tokens off;
@@ -291,25 +293,23 @@ variables_hash_max_size 4096;
291293
292294fastcgi_buffering on;
293295fastcgi_buffers 256 4k ;
294- fastcgi_connect_timeout 15s ;
296+ fastcgi_connect_timeout 5s ;
295297fastcgi_ignore_client_abort off;
296298fastcgi_index index .php;
297299fastcgi_intercept_errors on;
298- fastcgi_read_timeout 10m ;
299- fastcgi_send_timeout 10m ;
300+ fastcgi_read_timeout 15m ;
300301
301302#--------------------------------
302303# Proxy
303304#--------------------------------
304305
305306proxy_buffering on;
306307proxy_buffers 256 4k ;
307- proxy_connect_timeout 15s ;
308+ proxy_connect_timeout 5s ;
308309proxy_ignore_client_abort off;
309310proxy_intercept_errors on;
310311proxy_http_version 1.1;
311- proxy_read_timeout 10m ;
312- proxy_send_timeout 10m ;
312+ proxy_read_timeout 15m ;
313313
314314#--------------------------------
315315# SSL
0 commit comments