Skip to content

Commit 7327490

Browse files
committed
modify nginx.conf x_read_time_out 240s
1 parent 45b0d43 commit 7327490

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

nginx/nginx.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ http {
2424
keepalive_timeout 65;
2525

2626
client_max_body_size 1024m;
27-
proxy_read_timeout 600s;
27+
# read time out
28+
proxy_read_timeout 240s; # proxy - java
29+
fastcgi_read_timeout 240s; # fastcgi - php-fpm
2830

2931
gzip on;
3032
gzip_vary on;

0 commit comments

Comments
 (0)