From ddd93f4092bed48d3346951632378185bfb44acb Mon Sep 17 00:00:00 2001 From: Paperclip Date: Sun, 5 Apr 2026 10:03:22 +0000 Subject: [PATCH] fix(web): remove redundant nginx /api/ proxy block API routing is handled exclusively by HTTPRoute in K8s. The nginx /api/ proxy block was never hit in those environments and creates architectural confusion. Co-Authored-By: Paperclip --- apps/web/nginx.conf | 9 --------- 1 file changed, 9 deletions(-) diff --git a/apps/web/nginx.conf b/apps/web/nginx.conf index 89955f0..d09ed8d 100644 --- a/apps/web/nginx.conf +++ b/apps/web/nginx.conf @@ -9,15 +9,6 @@ server { add_header Cache-Control "public, immutable"; } - # Proxy API calls to the API service - location /api/ { - proxy_pass http://api:3000/api/; - proxy_http_version 1.1; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - } - # SPA fallback — serve index.html for all routes location / { try_files $uri $uri/ /index.html;