Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: NginX Load Balancing with Podman Compose

$
0
0
I found that even though I enter http://localhost:8090, NginX redirects to port 80, and port 80 is only valid inside the container, not on the host. If I change the redirected URL in the browser to include port 8090, the load balanced servers display fine. So, it seems NginX needs to know to redirect to port 8090 on the host. I've searched for how to accomplish this and I've had no luck. I've tried rewrite and proxy_redirect, but they both fail.
This is why I get the 302 and 502, because the URL is not valid on the host. How do I get the valid URL to be created on the host?

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>