nginx reverse proxy proxy_pass weirdness

Francis Daly francis at daoine.org
Wed Dec 18 10:37:54 UTC 2019


On Wed, Dec 18, 2019 at 04:48:33AM -0500, deeztek wrote:

Hi there,

> I have a nginx reverse proxy to forward requests to various Apache websites
> behind it. This all seems to work fine unless I remove one of the proxy_pass
> configurations from nginx. Even though I remove it, nginx still fowards the
> requests back to Apache to a seemingly random website this time.
> 
> I can't seem to get it to stop doing that. Any idea what's going on?

The server{} and location{} that you have configured nginx to use for
this request may not be the server{} and location{} that you want nginx
to use for this request.

If you can show the configuration and the request, and say how you want
nginx to handle the request, maybe it will be clear what changes to the
configuration are needed.

Cheers,

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list