Thanks a lot i dit not know that i can use this with regular expressions. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,228784,228790#msg-228790