diff --git a/deployments/@domains/cocotte.club/nginx/prod.conf b/deployments/@domains/cocotte.club/nginx/prod.conf index 4585375b..7dc73e94 100644 --- a/deployments/@domains/cocotte.club/nginx/prod.conf +++ b/deployments/@domains/cocotte.club/nginx/prod.conf @@ -82,9 +82,9 @@ server { # ── Upstream proxy: quinn.api runs locally on vps-0 at 127.0.0.1:3030 # (same pattern as all other quinn.* vhosts on this host) - # /api/* → quinn.api + # /api/* → quinn.api (strip /api/ prefix — the API has no /api prefix itself) location /api/ { - proxy_pass http://127.0.0.1:3030/api/; + proxy_pass http://127.0.0.1:3030/; proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr;