Hi! Thanks for the responses. Is there any way for nginx to work conditionally based on headers in the upstream response? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,235808,235878#msg-235878