Fix nginx backend proxy port from 3001 to 3801

Backend container is exposed on host port 3801, not 3001.
This was preventing webhooks and API calls from reaching the backend.
This commit is contained in:
Matt 2025-10-31 12:36:49 +01:00
parent e5dced48d2
commit 0192c9b3e5

View File

@ -88,7 +88,7 @@ server {
# === Backend API - Stripe Webhooks (specific route, no trailing slash) ===
location = /api/webhooks/stripe {
proxy_pass http://127.0.0.1:3001/api/webhooks/stripe;
proxy_pass http://127.0.0.1:3801/api/webhooks/stripe;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
@ -106,7 +106,7 @@ server {
# === Backend API - All other API routes ===
location /api/ {
proxy_pass http://127.0.0.1:3001/;
proxy_pass http://127.0.0.1:3801/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;