From 72a7f8dfd084b7fc8dc97c6bf041e991ec3e72e0 Mon Sep 17 00:00:00 2001 From: Cxx0822 <1556464090@qq.com> Date: Wed, 5 Nov 2025 22:57:17 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0webdav=E4=BB=A3=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nginx.conf b/nginx.conf index 41631f2..ff6ec58 100644 --- a/nginx.conf +++ b/nginx.conf @@ -66,6 +66,14 @@ server { proxy_set_header X-Forwarded-Proto $scheme; } + location /webdav/ { + proxy_pass http://host.docker.internal:5005/; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + } + location /home-api/ { proxy_pass http://host.docker.internal:8081/; }