1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jirafeau_ynh.git synced 2024-09-03 19:35:53 +02:00

Extend client body timeout for very large files

As advised on Jirafeau website: https://gitlab.com/mojo42/Jirafeau#my-downloads-are-incomplete-or-my-uploads-fails
(client_header_timeout can't be set at this configuration level)
This commit is contained in:
JimboJoe 2016-12-29 22:08:02 +01:00 committed by GitHub
parent 8343a4e7dc
commit b1c9f3ea8a

View file

@ -4,6 +4,7 @@ location YNH_WWW_LOCATION {
rewrite ^ https://$server_name$request_uri? permanent; rewrite ^ https://$server_name$request_uri? permanent;
} }
client_max_body_size 10G; client_max_body_size 10G;
client_body_timeout 30m;
index index.php; index index.php;
try_files $uri $uri/ index.php; try_files $uri $uri/ index.php;