On Sun, 18 Nov 2012 14:48:35 -0800
Yang Zhang <[email protected]> wrote:

> I have: nginx (port 80) reverse-proxying to apache2 (port 88)
> reverse-proxying to a web app (port 5001).
> 
> However, when the web app responds with a redirect like `Location:
> /foo`,

That is not valid HTTP.  A Location header must be an absolute URI.

 apache2 rewrites this into `Location:
> http://host.com:88/sub/foo`, even though port 88 is publicly
> inaccessible.

So where does :88 come from?  Looks like a misconfiguration
somewhere outside the section you quoted.


-- 
Nick Kew

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to