I will debug my config again. Thanks. By the way, does map support regex in input parameter? Now or in future? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,231715,231722#msg-231722