fix(monitor/nginx): strip /api prefix on WS proxy_pass so backend route /v1/ws is reached

This commit is contained in:
CarterPerez-dev 2026-05-01 21:38:04 -04:00
parent 92202b1c16
commit 4bf29da96f
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ server {
}
location /api/v1/ws {
proxy_pass http://backend;
proxy_pass http://backend/v1/ws;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;

View File

@ -22,7 +22,7 @@ server {
}
location /api/v1/ws {
proxy_pass http://backend;
proxy_pass http://backend/v1/ws;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;