fix: update API proxy configuration to use internal service endpoint

This commit is contained in:
Asep Haryana Saputra
2026-05-22 22:06:21 +00:00
parent 193f83d9c5
commit 4453758180
+2 -2
View File
@@ -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;