Reverse proxy 404 error help!

Francis Daly francis at daoine.org
Fri Aug 30 19:54:52 UTC 2019


On Thu, Aug 29, 2019 at 10:54:33PM -0400, Soon Hyouk Lee wrote:

Hi there,

some web services are not set up to be friendly to be reverse-proxied
at a different part of the local url hierarchy than they know about.

Perhaps this is one of them.

If you can configure the back-end server to believe that it is rooted
at /unifi/ instead of at /, then perhaps it can work.

Otherwise, you may have more luck using a dedicated server{} block that
reverse proxies everything to the unifi service without changing the
local url.

The other option, of trying to rewrite the content on-the-fly, is unlikely
to work reliably.

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list