Skip to content

Commit 4ffb963

Browse files
committed
Merge branch 'fix/ui-404-on-instance-refresh' into 'master'
Fix UI 404 on page refresh at /instance Closes #693 See merge request postgres-ai/database-lab!1120
2 parents 8aecd55 + 23ba494 commit 4ffb963

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ui/packages/ce/nginx.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ server {
2222
}
2323

2424
# API endpoints proxied directly to the DLE server.
25-
location ~ ^/(healthz|status|instance|branch|branches|clone|clones|snapshot|snapshots|observation|admin|full-refresh)(/|$) {
25+
# "instance" is intentionally excluded — it collides with the SPA route /instance.
26+
# The /instance/retrieval and /instance/logs endpoints are reachable via /api/ and /ws/.
27+
location ~ ^/(healthz|status|branch|branches|clone|clones|snapshot|snapshots|observation|admin|full-refresh)(/|$) {
2628
resolver 127.0.0.11;
2729
proxy_http_version 1.1;
2830
proxy_pass http://${DLE_HOST}:${DLE_PORT}$request_uri;

0 commit comments

Comments
 (0)