Multiple proxy_pass destinations from a single location block

Igor Sysoev igor at sysoev.ru
Thu Feb 5 12:38:22 UTC 2015


On 05 Feb 2015, at 11:26, justink101 <nginx-forum at nginx.us> wrote:

> Thanks Igor.
> 
> What if one of the servers listed in the upstream block should be over https
> and the other over http? How is this done using
> 
> upstream proxies {
>    server foo.mydomain.io;
>    server bar.mydomain.com;
> }
> 
> proxy_pass https://proxies/api/;
> 
> Notice the proxy pass defines only a single scheme (https).

No easy way.


-- 
Igor Sysoev
http://nginx.com



More information about the nginx mailing list