Thanks! I wasn't aware you could combine variables like that in a map statement. handy. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,243687,243736#msg-243736