No subject

洪志道 hongzhidao at
Wed May 18 05:35:10 UTC 2016


Is there a way to get selected peer in upstream without sending request to
backend server?

upstream backend {
    hash $url consistent;
    server; # Assume this is selected

location /302 {
   proxy_pass  http://backend;
   # need other config or develop custom module?

> curl -v

Just get selected server, and immediately return for 302 location.
Is it possible to support the feature, or give me advices, thanks so much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx-devel mailing list