I am trying to configure ingress gateway for consul deployed in AKS.
As per their documentation , I have created a sample deployment and ingress gateway to it.
yaml files: github
kubectl apply -f static-app/
I changed the static app service from CluserIP to LoadBalancer and can get the page using http://<LB_IP>
But, with ingress gateway, I can access only by adding the header as below:
curl -H "Host: static-server.ingress.consul" "http://<IG_IP>:8080"
If I try without header, it is not getting the page.
Any suggestion on how to make it work without header, so that I can utilize the same for my main application.
Once, it is deployed, I am able to see in the consul window and got the IP address of the ingress-gateway using