Skip to content

Commit ee22261

Browse files
committed
revert unnecesary nginx/php timeouts changes
1 parent 142fa83 commit ee22261

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/deb/nginx/nginx.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ http {
1717
sendfile on;
1818
tcp_nopush on;
1919
tcp_nodelay on;
20-
client_header_timeout 600s;
21-
client_body_timeout 600s;
20+
client_header_timeout 180s;
21+
client_body_timeout 180s;
2222
client_header_buffer_size 2k;
2323
client_body_buffer_size 256k;
2424
client_max_body_size 256m;
2525
large_client_header_buffers 4 8k;
26-
send_timeout 600s;
26+
send_timeout 60s;
2727
keepalive_timeout 30s;
2828
keepalive_requests 100000;
2929
reset_timedout_connection on;

src/deb/php/php.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ expose_php = Off
382382
; Maximum execution time of each script, in seconds
383383
; http://php.net/max-execution-time
384384
; Note: This directive is hardcoded to 0 for the CLI SAPI
385-
max_execution_time = 600
385+
max_execution_time = 60
386386

387387
; Maximum amount of time each script may spend parsing request data. It's a good
388388
; idea to limit this time on productions servers in order to eliminate unexpectedly

0 commit comments

Comments
 (0)