1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piwigo_ynh.git synced 2024-09-03 20:06:03 +02:00

Set nginx and php-fpm configurations accordingly

This commit is contained in:
Jimmy Monin 2017-09-22 19:13:43 +02:00
parent 3a81a9a83f
commit 15e1300f64
2 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
location __PATH__ {
alias __FINALPATH__/;
client_max_body_size 1G;
client_max_body_size 100M;
index index.php;
default_type text/html;
location ~ [^/]\.php(/|$) {

View file

@ -1,7 +1,7 @@
; Common values to change to increase file upload limit
upload_max_filesize = 1G
post_max_size = 1G
upload_max_filesize = 100M
post_max_size = 100M
; Other common parameters
max_execution_time = 600
max_input_time = 300
max_execution_time = 3600
max_input_time = 3600