Thank you very much, Maxim. I implemented the solution as you advised. Eran Posted at Nginx Forum: http://forum.nginx.org/read.php?2,253006,253116#msg-253116