Jarvis Bot commited on
Commit
4a9aeb7
·
1 Parent(s): 71f9d01

Fix: preserve /files prefix when proxying to dufs --path-prefix

Browse files
Files changed (1) hide show
  1. nginx.conf +1 -1
nginx.conf CHANGED
@@ -40,7 +40,7 @@ http {
40
  # dufs 文件服务 (公开,无需登录)
41
  # -----------------------------
42
  location /files/ {
43
- proxy_pass http://127.0.0.1:5000/;
44
  proxy_http_version 1.1;
45
 
46
  proxy_set_header Host $host;
 
40
  # dufs 文件服务 (公开,无需登录)
41
  # -----------------------------
42
  location /files/ {
43
+ proxy_pass http://127.0.0.1:5000;
44
  proxy_http_version 1.1;
45
 
46
  proxy_set_header Host $host;