multiple https proxy_pass to diffrent apache server

Maxim Dounin mdounin at mdounin.ru
Sat Jan 14 23:26:21 UTC 2012


Hello!

On Sat, Jan 14, 2012 at 08:41:21PM +0400, Valentin V. Bartenev wrote:

> On Saturday 14 January 2012 20:33:45 Valentin V. Bartenev wrote:
> [...]
> > 
> >     location / {
> >         proxy_pass  https://$backend/;
> >     }
> 
>  Oops, correct:
>  
>  proxy_pass  https://$backend$uri;

The $uri part isn't needed, just

   proxy_pass  https://$backend;

is enough.

Maxim Dounin



More information about the nginx mailing list