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>
19 lines
448 B
Nginx Configuration File
19 lines
448 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name _;
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
|
|
location /api/ {
|
|
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;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
}
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
}
|