Nginx as an AUTH + proxy_pass in front of a mail server on the LAN; I'm missing something about passing the port #

jen142 at promessage.com jen142 at promessage.com
Sun Sep 22 20:28:02 UTC 2013


Hi Francis,

On Sun, Sep 22, 2013, at 01:13 PM, Francis Daly wrote:
> untested; and it may depend on exactly who is doing the redirecting,
> but does replacing this line:
> 
> >                 proxy_set_header  Host $host;
> 
> with
> 
>   proxy_set_header  Host $host:12345;
> 
> change how it responds?

That sounded promising, but, unfortunately ... no.

Same beahvior -- initial reponse is without the portnum; add it
manually, and all's well.


Jen



More information about the nginx mailing list