diff --git a/.gitignore b/.gitignore index 30b469a..d3d9367 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ dist .DS_Store .dev-screenshot-*.png .playwright-mcp +.memory *.log diff --git a/nginx.conf b/nginx.conf index f8a437b..2234aa7 100644 --- a/nginx.conf +++ b/nginx.conf @@ -23,10 +23,10 @@ server { try_files $uri =404; } - # Reverse proxy /api/* to FastAPI backend container. - # In Coolify the backend service hostname is the application name on the - # internal network. Override OBDX_API_UPSTREAM at deploy time if it differs. - location /api/ { + # Reverse proxy to FastAPI backend container (legacy obdx-web → obdx-api). + # Covers: /api/v1/* + the three legacy HTML pages and report subpaths that + # the old container still serves. Everything else falls through to the SPA. + location ~ ^/(api/|scan\.html$|demo\.html$|report/) { proxy_pass http://obdx-api:8080; proxy_http_version 1.1; proxy_set_header Host $host;