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

Set max_body_size

This commit is contained in:
ericgaspar 2021-06-08 10:48:36 +02:00
parent 125e99c0fd
commit f3c6098337
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 3 additions and 2 deletions

View file

@ -10,6 +10,7 @@ location __PATH__/ {
}
index index.php;
client_max_body_size 128M;
try_files $uri $uri/ index.php;
location ~ [^/]\.php(/|$) {

View file

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