I'm trying to configure nginx to proxy_pass to a hot-test server when a certain cookie is present. It's expected to work like this: - accessing /hot will set a cookie hot=1 and redirect to / - accessing /prod will set the cookie hot=0 and redirect to / - when there is this cookie hot=1 then the requests should be proxied to the test server - otherwise regular static and other proxies will tby jansegre - Nginx Mailing List - English