Skip to content

Commit 23ba494

Browse files
Sarumyanagneum
authored andcommitted
Fix UI 404 on page refresh at /instance
1 parent 8aecd55 commit 23ba494

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)