fix(nginx): route /openapi to api backend

Phase F removed legacy /v1/oauth/device/* and /console/api/oauth/device/*
mounts in favour of /openapi/v1. Without this rule /openapi falls through
to location / and proxies to web:3000, returning 404 for every API call.
This commit is contained in:
GareArc 2026-04-27 01:06:19 -07:00
parent 0b3b0b5ce8
commit d98fe7916a
No known key found for this signature in database

View File

@ -27,6 +27,11 @@ server {
include proxy.conf;
}
location /openapi {
proxy_pass http://api:5001;
include proxy.conf;
}
location /files {
proxy_pass http://api:5001;
include proxy.conf;