I encounter an issue about how to set Proxypass and Proxypassrereverse in K8S like Apache.
1.In Apache application There is a way to configure Proxypass and Proxypassrereverse (see the picture)
2.I had a AKS environment which deployed ingress-nginx-controller for each app. My purpose is when client access to https://example.a.com/test, the ingress will do proxypass to https://example.b.com/test (but not redirect)
But I'm not sure if there is a solution to set it in ingress yaml file.
Could you please help with this issue? Thanks in advance
Is there any solution about Proxypass and Proxypassrereverse settings in ingress-nginx-controller like Apache?
nginx.ingress.kubernetes.io/proxy-pass
Specifies the backend URL to which traffic should be forwarded,/proxy-pass-reverse
Specifies the same backend URL for reverse proxy functionality.