upstream upstream1{

}

upstream upstream2{

}

upstream upstream3{

}

upstream upstream4{

}

request url is http://xxxx.com/id=xxx&key=xxx

if (id is 1~100 key=key1) send to upstream1
if (id is 1~100 key=key2) send to upstream2
if (id is 101~200 key=key1) send to upstream3
if (id is 101~200 key=key2 ) send to upstream4
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to