Hi Jonathan, That was exactly the advice I needed. I will spend some time rewriting what I think to be a better way based on your advice and post back here with more clearly defined rules using location a bit more. Thanks :) Posted at Nginx Forum: http://forum.nginx.org/read.php?2,225483,225492#msg-225492