Fix error

main
mula.liu 2026-01-19 20:10:39 +08:00
parent faf11dba41
commit ce9a344cf1
1 changed files with 2 additions and 2 deletions

View File

@ -33,8 +33,8 @@ server {
proxy_send_timeout 300s;
}
# 上传文件代理
location /uploads/ {
# 上传文件代理 (使用 ^~ 提高优先级,避免被静态文件正则匹配拦截)
location ^~ /uploads/ {
proxy_pass http://backend:8000;
proxy_http_version 1.1;
proxy_set_header Host $host;