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

Francis Daly francis at
Sun Sep 22 20:13:44 UTC 2013

On Sun, Sep 22, 2013 at 10:11:50AM -0700, jen142 at wrote:

Hi there,

untested; and it may depend on exactly who is doing the redirecting,
but does replacing this line:

>                 proxy_set_header  Host $host;


  proxy_set_header  Host $host:12345;

change how it responds?

Francis Daly        francis at

More information about the nginx mailing list