Brilliant! It works perfectly. Do you have any idea why the curly braces didn't work and also where I can learn when to use a location in a location? Thank you so much! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,221410,221414#msg-221414