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

Update nginx.conf

Set client_max_body_size to 5MB to fix #6

See "chunkSize" in https://github.com/psi-4ward/psitransfer/blob/master/app/src/Upload/store/upload.js
This commit is contained in:
Jens Diemer 2022-10-03 16:37:47 +02:00 committed by GitHub
parent 470adbfbb4
commit e7fbdb823f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,9 @@ location __PATH__/ {
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade; proxy_set_header Connection upgrade;
# Must be at least as large as the chunk size of PsiTransfer.
client_max_body_size 5M;
# Include SSOWAT user panel. # Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc; include conf.d/yunohost_panel.conf.inc;
} }