Multiple proxy_pass destinations from a single location block

justink101 nginx-forum at nginx.us
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 {
    server foo.mydomain.io;
    server bar.mydomain.com;
}

proxy_pass https://proxies/api/;

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

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,256437,256461#msg-256461



More information about the nginx mailing list