feat: 分片上传断点续传、临时目录后台配置与清扫、宇恒云账号管理
- 管理端大文件分片上传与 sessionStorage 续传;Nginx 大请求体/超时 - .chunk-uploads 定期清扫;system_config 后台配置保留时长与扫描间隔 - 宇恒云 POST /register 对接与 yuheng_cloud_register_records 留痕;yuheng_cloud:manage 权限 Made-with: Cursor
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name yuheng.yuxindazhineng.com;
|
||||
# 与宿主机 yuheng.host.conf 一致,避免后台大文件上传被默认 1m 拒绝
|
||||
client_max_body_size 800m;
|
||||
# 若使用 HTTPS,取消下面注释并挂载证书到 /etc/nginx/ssl/
|
||||
# listen 443 ssl;
|
||||
# ssl_certificate /etc/nginx/ssl/fullchain.pem;
|
||||
@@ -38,8 +40,9 @@ server {
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_connect_timeout 75s;
|
||||
proxy_send_timeout 75s;
|
||||
proxy_read_timeout 75s;
|
||||
client_body_timeout 0;
|
||||
proxy_send_timeout 86400s;
|
||||
proxy_read_timeout 86400s;
|
||||
proxy_buffering off;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user