Skip to content

Instantly share code, notes, and snippets.

@brennancheung
Created September 22, 2011 05:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brennancheung/1234134 to your computer and use it in GitHub Desktop.
Save brennancheung/1234134 to your computer and use it in GitHub Desktop.
nginx unicorn virtual host
server {
listen 80;
server_name foo.mydomain.com;
access_log /srv/sites/foo/access.log main;
error_log /srv/sites/foo/error.log info;
location / {
proxy_pass http://unix:/srv/sites/foo/unicorn.sock;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment