From df502c676f839bbdfe07b9876b8f6d95fc925b6e Mon Sep 17 00:00:00 2001 From: Muhammad Ibrahim Date: Mon, 20 Oct 2025 19:43:58 +0100 Subject: [PATCH] added bullboard url for docker nginx template --- docker/nginx.conf.template | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docker/nginx.conf.template b/docker/nginx.conf.template index 47e8365..90bb145 100644 --- a/docker/nginx.conf.template +++ b/docker/nginx.conf.template @@ -24,12 +24,7 @@ server { add_header X-XSS-Protection "1; mode=block" always; add_header Referrer-Policy "strict-origin-when-cross-origin" always; - # Handle client-side routing - location / { - try_files $uri $uri/ /index.html; - } - - # Bull Board proxy + # Bull Board proxy - must come before the root location to avoid conflicts location /bullboard { proxy_pass http://${BACKEND_HOST}:${BACKEND_PORT}; proxy_set_header Host $host; @@ -52,6 +47,11 @@ server { } } + # Handle client-side routing + location / { + try_files $uri $uri/ /index.html; + } + # API proxy location /api/ { proxy_pass http://${BACKEND_HOST}:${BACKEND_PORT};