From d98fe7916a0f31ad2b534ec5044c17a81e8d719d Mon Sep 17 00:00:00 2001 From: GareArc Date: Mon, 27 Apr 2026 01:06:19 -0700 Subject: [PATCH] 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. --- docker/nginx/conf.d/default.conf.template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker/nginx/conf.d/default.conf.template b/docker/nginx/conf.d/default.conf.template index 94a748290f..8c55712f09 100644 --- a/docker/nginx/conf.d/default.conf.template +++ b/docker/nginx/conf.d/default.conf.template @@ -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;