fix: nginx upstream backend -> airgate-backend (k8s service name)
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 57s

The K8s Service is named 'airgate-backend', not 'backend',
causing CrashLoopBackOff with 'host not found in upstream'.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
seaislee1209 2026-05-07 17:33:50 +08:00
parent c28153af1b
commit d0a97c3dbe

View File

@ -5,7 +5,7 @@ server {
index index.html;
location /api/ {
proxy_pass http://backend:8100;
proxy_pass http://airgate-backend:8100;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;