added bullboard url for docker nginx template

This commit is contained in:
Muhammad Ibrahim
2025-10-20 19:43:58 +01:00
parent 54cea6b20b
commit df502c676f

View File

@@ -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};