fix: update API proxy configuration to use internal service endpoint
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user