From be7a076f349fcd9414ac15fc579bed0675f6fc1c Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Tue, 5 May 2026 12:04:56 -0700 Subject: [PATCH] fix: use http_host for proxy Host header to preserve port in redirects --- docker/web/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/web/nginx.conf b/docker/web/nginx.conf index d3fc926..3fb8035 100644 --- a/docker/web/nginx.conf +++ b/docker/web/nginx.conf @@ -11,7 +11,7 @@ server { # Proxy API requests to FastAPI (Docker bridge, service name) location /api/ { proxy_pass http://api:8522; - proxy_set_header Host $host; + proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; } }