1
0
Fork 0
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:
ericgaspar 2022-03-02 16:12:03 +01:00
parent 6acf4e0cf2
commit 7e8ee0ba9f
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -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;