Nginx and Apach2

Wandenberg Peixoto wandenberg at
Tue Jun 23 15:25:02 UTC 2015

Take a look on *port_in_redirect
<> *and

You probably have to do a proxy_pass to Apache and ensure that the port
number is removed from Apache response qhen there is a redirect.

On Tue, Jun 23, 2015 at 11:59 AM, sergiofm <nginx-forum at> wrote:

> I have nginx and apache2 in the same Ubuntu Server 14.04 and i want to use
> nginx as proxy server. My idea is when people write, nginx
> redirect to apache and i can do that, but the problem is that apache is in
> port 81 and when nginx redirect, the url show I
> just want people to see, without :81/mysite.
> Tanks,
> Sérgio Marques
> Posted at Nginx Forum:
> _______________________________________________
> nginx mailing list
> nginx at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list