For the first time today, I am trying to run Nginx. I have to run 2 websites built in Symfony 1.4 and Symfony 2.1. The nginx configuration file is http://pastebin.com/rFBqBaaM. The server blocks are http://pastebin.com/KZjfdYrY for site1 and http://pastebin.com/fpscrLx2 for site2.
I do not have a domain for site2 yet so I am using an Alias to access this. However, whenever I try to visit either site1 or site2, I see site1 on both the URLs.