room-planner: fix nginx — add missing central auth proxy block

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 <noreply@anthropic.com>
This commit is contained in:
jtricerolph 2026-07-03 13:29:24 +00:00
parent 63b3e42a12
commit 2993dfa216

View file

@ -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;