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

Adjust nginx and PHP-FPM upload size and execution time settings

This commit is contained in:
Jimmy Monin 2017-09-22 18:41:51 +02:00
parent 9fb7809c73
commit 3a81a9a83f
2 changed files with 8 additions and 1 deletions

View file

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

7
conf/php-fpm.ini Normal file
View file

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