ingress returns 404 for every path except /
Ingress-nginx 1.9.5 on a cluster I inherited. One host, two paths: / and /api. The root path works and serves the frontend, but /api/health returns a 404 page from nginx itself, not from the backend app. kubectl describe ingress shows both rules with pathType Prefix and correct service names. The api Service has endpoints. Why would nginx return 404 before the request reaches the app?
4 replies