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:
parent
436893d47f
commit
ff4b137921
2 changed files with 4 additions and 2 deletions
|
@ -10,6 +10,8 @@ location / {
|
|||
|
||||
index index.php;
|
||||
|
||||
client_max_body_size 50M;
|
||||
|
||||
try_files $uri __PATH__/index.php;
|
||||
|
||||
location ~ [^/]\.php(/|$) {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue