Reverse proxy 404 error help!

Soon Hyouk Lee soon.hyouk at gmail.com
Tue Sep 3 02:23:26 UTC 2019


Thank you!  Can confirm that indeed reverse proxy at ‘/‘ location succeeds. 

I used subdomain (unifi.mydomain.com) to accomplish app-specific address but at the ‘/‘ location using a dedicated server block as instructed. 

Thank you!

> On Aug 30, 2019, at 3:54 PM, Francis Daly <francis at daoine.org> wrote:
> 
> 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
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx


More information about the nginx mailing list