From 5f8ed9e3b43e47f8b181cb8bc4bc5f44ad3da863 Mon Sep 17 00:00:00 2001 From: Cxx0822 <1556464090@qq.com> Date: Wed, 20 May 2026 22:09:11 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0=E9=9F=B3=E4=B9=90?= =?UTF-8?q?=E8=B7=AF=E5=BE=84?= 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 62a4622..851ee08 100644 --- a/nginx.conf +++ b/nginx.conf @@ -92,6 +92,14 @@ server { proxy_set_header X-Forwarded-Proto $scheme; } + location /music/ { + proxy_pass http://host.docker.internal:4000/; + 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/; }