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

set max filesize

This commit is contained in:
ericgaspar 2022-08-14 12:40:48 +02:00
parent bf0aa6bae1
commit 746ad40ae8
2 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ location __PATH__/ {
alias __FINALPATH__/ ; alias __FINALPATH__/ ;
index index.php; index index.php;
client_max_body_size 10G; client_max_body_size 50M;
try_files $uri $uri/ /index.php?q=$uri&$args; try_files $uri $uri/ /index.php?q=$uri&$args;
# pass PHP scripts to FastCGI server # pass PHP scripts to FastCGI server

View file

@ -419,8 +419,8 @@ chdir = __FINALPATH__
;php_admin_value[memory_limit] = 32M ;php_admin_value[memory_limit] = 32M
; Common values to change to increase file upload limit ; Common values to change to increase file upload limit
; php_admin_value[upload_max_filesize] = 50M php_admin_value[upload_max_filesize] = 50M
; php_admin_value[post_max_size] = 50M php_admin_value[post_max_size] = 50M
; php_admin_flag[mail.add_x_header] = Off ; php_admin_flag[mail.add_x_header] = Off
; Other common parameters ; Other common parameters