feat:增加音乐路径

This commit is contained in:
2026-05-20 22:09:11 +08:00
parent 0445e0a38e
commit 5f8ed9e3b4

View File

@@ -92,6 +92,14 @@ server {
proxy_set_header X-Forwarded-Proto $scheme; 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/ { location /home-api/ {
proxy_pass http://host.docker.internal:8081/; proxy_pass http://host.docker.internal:8081/;
} }