Skip to content

Instantly share code, notes, and snippets.

@teamon
Created March 27, 2013 19:53
Show Gist options
  • Save teamon/5257477 to your computer and use it in GitHub Desktop.
Save teamon/5257477 to your computer and use it in GitHub Desktop.
server {
listen 80;
server_name *.dev;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_redirect off;
proxy_pass http://localhost:3000;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment