brew install nginx
sudo cp /usr/local/Cellar/nginx/1.8.0/homebrew.mxcl.nginx.plist /Library/LaunchAgentsReplace /usr/local/etc/nginx/nginx.conf with the nginx.conf in this gist. I'm using port 5000 for my current project. Obviously, change server_name as well, and probably the name of its access log.
sudo launchctl load /Library/LaunchAgents/homebrew.mxcl.nginx.plist
@lan3jur, do you have anything running at localhost:5000? That
proxy_passis where nginx will proxy requests for http://localhost:80 to. As an example, set it tohttp://www.simplesite.com/, and assuming that you have127.0.0.1 dev.copypastafarianism.orgin your/etc/hosts, when you point your browser tohttp://dev.copypastafarianism.org, you'll see a page fromhttp://www.simplesite.com/.