Skip to content

Ingress cannot find the my app #3729

Answered by vahidazad
vahidazad asked this question in Q&A
Discussion options

You must be logged in to vote

Hi
I found my issue and fixed it. The issue was in the reverse proxy configuration where I missed passing the hostname to the ingress controller in Kubernetes.
I am using an Nginx reverse proxy in front of my Kubernetes cluster.
The traffic was forwarded to the ingress controller in Kubernetes, but the host header was missing, so the ingress controller could not match the hostname that was configured in the ingress yaml file.

I add the following line after the proxy_path: proxy_set_header Host $host;
and everything works fine now.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by brianehlert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants