From ee9dab77ea81c2109cd4bf87b241d5daa5f0180c Mon Sep 17 00:00:00 2001 From: Adam French Date: Mon, 24 Nov 2025 16:59:03 +0000 Subject: [PATCH] fix proxy --- nginx/nginx.conf.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx/nginx.conf.template b/nginx/nginx.conf.template index 12b369a..57d93e3 100644 --- a/nginx/nginx.conf.template +++ b/nginx/nginx.conf.template @@ -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;