Welcome! Log In Create A New Profile

Advanced

Re: Reverse proxy 404 error help!

Francis Daly
August 30, 2019 03:56PM
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@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Reverse proxy 404 error help!

Soon Hyouk Lee August 29, 2019 10:56PM

Re: Reverse proxy 404 error help!

Francis Daly August 30, 2019 03:56PM

Re: Reverse proxy 404 error help!

Soon Hyouk Lee September 02, 2019 10:24PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 310
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready