Multiple proxy_pass destinations from a single location block

justink101 nginx-forum at
Thu Feb 5 08:26:08 UTC 2015

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 {

proxy_pass https://proxies/api/;

Notice the proxy pass defines only a single scheme (https).

Posted at Nginx Forum:,256437,256461#msg-256461

More information about the nginx mailing list