From e07af65f6756de5a19722a73fdee73918e94433f Mon Sep 17 00:00:00 2001 From: test Date: Sun, 30 Nov 2025 19:15:58 +0530 Subject: [PATCH] Fix: Use 127.0.0.1 for nginx proxy to fix 502 error --- frontend/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/nginx.conf b/frontend/nginx.conf index 9fe6f88..fea5365 100644 --- a/frontend/nginx.conf +++ b/frontend/nginx.conf @@ -59,7 +59,7 @@ http { # Proxy API calls to backend location /api { - proxy_pass http://localhost:3001; + proxy_pass http://127.0.0.1:3001; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade';