diff --git a/conf/nginx.conf b/conf/nginx.conf index eb9c385..4a7d958 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -14,6 +14,7 @@ location YNH_WWW_PATH { fastcgi_param REMOTE_USER $remote_user; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $request_filename; + fastcgi_read_timeout 600; } # Include SSOWAT user panel. diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index a12bf95..23c6fa7 100644 --- a/conf/php-fpm.conf +++ b/conf/php-fpm.conf @@ -159,7 +159,7 @@ ping.path = /ping ; does not stop script execution for some reason. A value of '0' means 'off'. ; Available units: s(econds)(default), m(inutes), h(ours), or d(ays) ; Default Value: 0 -request_terminate_timeout = 120s +request_terminate_timeout = 600s ; The timeout for serving a single request after which a PHP backtrace will be ; dumped to the 'slowlog' file. A value of '0s' means 'off'. @@ -241,3 +241,4 @@ catch_workers_output = yes php_value[upload_max_filesize] = 50M php_value[post_max_size] = 50M php_value[mail.add_x_header] = Off +php_value[max_execution_time] = 6000s