Re: proxy_pass to different upstreams based on a cookie in the http request header

2014-06-12 Thread Kunal Pariani
Thanks for your answer. Worked great for me.. On Wed, Jun 11, 2014 at 10:10 AM, Francis Daly fran...@daoine.org wrote: On Wed, Jun 11, 2014 at 12:46:41AM -0700, Kunal Pariani wrote: Hi there, Am wondering if there is a way to proxy (i.e proxy_pass inside location directive) to different

proxy_pass to different upstreams based on a cookie in the http request header

2014-06-11 Thread Kunal Pariani
Hello, Am wondering if there is a way to proxy (i.e proxy_pass inside location directive) to different set of upstreams based on whether a particular cookie is present or not in a http request header. Thanks -Kunal ___ nginx mailing list nginx@nginx.org

Re: proxy_pass to different upstreams based on a cookie in the http request header

2014-06-11 Thread Francis Daly
On Wed, Jun 11, 2014 at 12:46:41AM -0700, Kunal Pariani wrote: Hi there, Am wondering if there is a way to proxy (i.e proxy_pass inside location directive) to different set of upstreams based on whether a particular cookie is present or not in a http request header. You can use a map