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:
parent
9fb7809c73
commit
3a81a9a83f
2 changed files with 8 additions and 1 deletions
|
@ -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
7
conf/php-fpm.ini
Normal 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
|
Loading…
Reference in a new issue