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:
parent
470adbfbb4
commit
e7fbdb823f
1 changed files with 4 additions and 1 deletions
|
@ -7,6 +7,9 @@ location __PATH__/ {
|
|||
proxy_set_header Upgrade $http_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 conf.d/yunohost_panel.conf.inc;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue