Re: Nginx-Upstream-proxy next upstream-惊天大Bug

Brian Akins brian at akins.org
Fri Jun 1 11:43:31 UTC 2012


Do something like this:

you need to define a resolver:

resolver 8.8.8.8; # or your dns serevrs

location / {
    set $myupstream flvdownload.ppserver.org.cn;
    proxy_pass http://$myupstream;
}

if you need it to use multiple ip addresses.



More information about the nginx mailing list