Files
nvi/ctrl/k8s/base/Caddyfile

23 lines
471 B
Caddyfile

{
auto_https off
admin off
}
# Routes by Host header from the system Caddy (which proxies *.nvi.local.ar
# from the host to this gateway via the kind NodePort).
nvi.local.ar:80 {
reverse_proxy ui:80
}
api.nvi.local.ar:80 {
reverse_proxy api:8000
}
docs.nvi.local.ar:80 {
reverse_proxy docs:80
}
# AWS public hostname later — VPS Caddy will reverse-proxy nivii.mcrn.ar
# over WireGuard to this gateway. Add matching blocks when that's wired up.