fix proxy

This commit is contained in:
2025-11-24 16:59:03 +00:00
parent ae37643334
commit ee9dab77ea

View File

@@ -63,7 +63,7 @@ http {
location /api/ {
rewrite ^/api/(.*)$ /$1 break;
proxy_pass http://$BACKEND_HOST:$BACKEND_PORT;
proxy_pass http://$BACKEND_HOST:$BACKEND_PORT/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@@ -75,7 +75,7 @@ http {
}
location /radio/ {
proxy_pass http://$ICECAST_HOST:$ICECAST_PORT;
proxy_pass http://$ICECAST_HOST:$ICECAST_PORT/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;