1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grocy_ynh.git synced 2024-09-03 19:25:54 +02:00

Set client_max_body_size to 50M

This commit is contained in:
ericgaspar 2021-07-25 23:25:27 +02:00
parent 436893d47f
commit ff4b137921
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 4 additions and 2 deletions

View file

@ -10,6 +10,8 @@ location / {
index index.php;
client_max_body_size 50M;
try_files $uri __PATH__/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] = 50M
php_admin_value[post_max_size] = 50M
; php_admin_flag[mail.add_x_header] = Off
; Other common parameters