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:
parent
63b3e42a12
commit
2993dfa216
1 changed files with 7 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue