NGINX "proxy_pass" for a "Passthrough" Route does not work
Issue
-
Given two Pods that are both exposed by Routes with TLS Passthrough termination, when proxying a request from Pod A to Pod B via a
location /proxy/
andproxy_pass
directive in NGINX, a call to Pod A "/proxy/hello" doesn't work and returns the following error message:Route and path matches, but all pods are down.
The expectations is that this would return "Hello from B".
-
We are using the following NGINX
proxy_pass
configuration, but requesting a Route with "Passthrough" or "Reencrypt" will return an error from the OpenShift Router:location /proxy/ { proxy_pass https://passthrough-route-mynamespace.lab.example.com/; }
Environment
- Red Hat OpenShift Container Platform (OCP) 4.5
rhscl/nginx-116-rhel7
container image
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.