mirror of
https://github.com/YunoHost-Apps/bookstack_ynh.git
synced 2024-09-03 18:16:02 +02:00
Fix file size upload
This commit is contained in:
parent
6acf4e0cf2
commit
7e8ee0ba9f
2 changed files with 5 additions and 1 deletions
|
@ -36,6 +36,10 @@ DB_DATABASE=__DB_NAME__
|
|||
DB_USERNAME=__DB_USER__
|
||||
DB_PASSWORD=__DB_PWD__
|
||||
|
||||
# File Upload Limit
|
||||
# Maximum file size, in megabytes, that can be uploaded to the system.
|
||||
FILE_UPLOAD_SIZE_LIMIT=100
|
||||
|
||||
# Mail system to use
|
||||
MAIL_DRIVER=smtp
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ location __PATH__/ {
|
|||
# Path to source
|
||||
alias __FINALPATH__/public/;
|
||||
|
||||
client_max_body_size 100m;
|
||||
client_max_body_size 100M;
|
||||
client_body_timeout 120s; # Default is 60, May need to be increased for very large uploads
|
||||
|
||||
index index.php;
|
||||
|
|
Loading…
Reference in a new issue