1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpmyadmin_ynh.git synced 2024-09-03 19:56:46 +02:00

Merge pull request #47 from polytan02/master

Avois error 504 while uploading big files
This commit is contained in:
julienmalik 2016-06-29 14:14:16 +00:00 committed by GitHub
commit 20a2c66876
2 changed files with 3 additions and 1 deletions

View file

@ -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.

View file

@ -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