mirror of
https://github.com/YunoHost-Apps/phpmyadmin_ynh.git
synced 2024-09-03 19:56:46 +02:00
Avois error 504 while uploading big files
This commit is contained in:
parent
ae4b6cc55b
commit
f505d3681d
2 changed files with 3 additions and 1 deletions
|
@ -14,6 +14,7 @@ location YNH_WWW_PATH {
|
||||||
fastcgi_param REMOTE_USER $remote_user;
|
fastcgi_param REMOTE_USER $remote_user;
|
||||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||||
|
fastcgi_read_timeout 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Include SSOWAT user panel.
|
# Include SSOWAT user panel.
|
||||||
|
|
|
@ -159,7 +159,7 @@ ping.path = /ping
|
||||||
; does not stop script execution for some reason. A value of '0' means 'off'.
|
; 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)
|
; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
|
||||||
; Default Value: 0
|
; 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
|
; 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'.
|
; 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[upload_max_filesize] = 50M
|
||||||
php_value[post_max_size] = 50M
|
php_value[post_max_size] = 50M
|
||||||
php_value[mail.add_x_header] = Off
|
php_value[mail.add_x_header] = Off
|
||||||
|
php_value[max_execution_time] = 6000s
|
||||||
|
|
Loading…
Reference in a new issue