If you're using only nginx (no Apache thx) and want to serve your projects using a local dev domain.
brew install nginx
Or download/unzip for Win: http://nginx.org/en/docs/windows.html
Edit /usr/local/etc/nginx/nginx.conf or C:\nginx\confg\nginx.conf, following the sample below.
sudo nginx
sudo nginx -s reload
sudo nginx -s quit
Edit /etc/hosts/ or C:\Windows\System32\drivers\etc\hosts to add your dev domains.
127.0.0.1 dev.project1.com
127.0.0.1 dev.project2.com