I found how to solve this problem : a cookie was set by the loadbalancer of our backends. I added Set-cookie to proxy_ignore_headers. What I don't understand, however is why it's working with standard web browsers. Fred Posted at Nginx Forum: http://forum.nginx.org/read.php?2,183034,183053#msg-183053