From 445375818030cbfd59c2c0c18c4bdb32c2e330ab Mon Sep 17 00:00:00 2001 From: Asep Haryana Saputra <90584806+MythEclipse@users.noreply.github.com> Date: Fri, 22 May 2026 22:06:21 +0000 Subject: [PATCH] fix: update API proxy configuration to use internal service endpoint --- apps/web/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/nginx.conf b/apps/web/nginx.conf index dc8f2f6..d15888c 100644 --- a/apps/web/nginx.conf +++ b/apps/web/nginx.conf @@ -5,8 +5,8 @@ server { index index.html; location /api/ { - proxy_pass https://api.zeavisedu.asepharyana.tech/api/; - proxy_set_header Host api.zeavisedu.asepharyana.tech; + proxy_pass http://zeavis-api:3000/api/; + proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme;