From 2993dfa216f683774244af0b9bdc2e1bae7b536a Mon Sep 17 00:00:00 2001 From: jtricerolph Date: Fri, 3 Jul 2026 13:29:24 +0000 Subject: [PATCH] =?UTF-8?q?room-planner:=20fix=20nginx=20=E2=80=94=20add?= =?UTF-8?q?=20missing=20central=20auth=20proxy=20block?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without /room-planner/api/auth/ → 10.10.10.101, auth verify hits the app backend instead of the central auth service, causing infinite loading. Co-Authored-By: Claude Sonnet 4.6 --- frontend/nginx.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/nginx.conf b/frontend/nginx.conf index dff3788..185c71a 100644 --- a/frontend/nginx.conf +++ b/frontend/nginx.conf @@ -6,6 +6,13 @@ server { try_files $uri $uri/ /room-planner/index.html; } + location /room-planner/api/auth/ { + proxy_pass http://10.10.10.101:3001/api/auth/; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + } + location /room-planner/api/ { proxy_pass http://backend:3001/api/; proxy_set_header Host $host;