Thanks,it works well!
On Sat, Mar 22, 2014 at 2:40 PM, Thomas Glanzmann <[email protected]>wrote: > Hello, > > > > How to proxy request to different upstream by url request parameters? > > > http://nginx.org/en/docs/http/ngx_http_upstream_module.html#sticky > > this is part of the commercial subscription, but you can probably obtain > the same using a MAP like that: > > map $arg_key $backend { > key1 backend1; > key2 backend2; > default fail; > } > > proxy_pass http://$arg_key; > > Cheers, > Thomas > > _______________________________________________ > nginx mailing list > [email protected] > http://mailman.nginx.org/mailman/listinfo/nginx >
_______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
