alist的http服务在使用nginx子域名转发后上传大文件出现问题 #7057
Unanswered
theLittleStone
asked this question in
Q&A
Replies: 2 comments 1 reply
-
加一条这个试试?
|
Beta Was this translation helpful? Give feedback.
1 reply
-
我也遇到了同样的问题,使用IP+端口的方式访问上传进度完成后马上显示上传完成,使用https+域名访问时上传进度完成后等很久才会出现上传完成。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
我利用ftp将内网的alist服务端口5244映射到了服务器上的5244端口,然后使用nginx的子域名重定向端口功能将5244端口重定向到了80端口上。
重定向后网站能够通过子域名正常打开,但是在上传大文件时上传完毕后还会显示“正在后台上传”,并且在一段时间后报出504错误;同时查看本地文件发现实际上传进度极慢(例如,上传1GB文件后,到报出504错误并中断时,实际写入到硬盘上的数据量只有几十MB)。但是直接访问服务器的5244端口时是能够成功上传大文件的。
所以我怀疑是不是在nginx子域名转发时有一些配置没有用对,我的nginx配置如下:
Beta Was this translation helpful? Give feedback.
All reactions