If I remember correctly u can not have more then one server config with the same port in the same config file. Give each URL it's own file using vhosts. There is an example in the wiki. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,1079,1083#msg-1083