Skip to content

Instantly share code, notes, and snippets.

@yanaga
Created February 25, 2012 18:03
Show Gist options
  • Save yanaga/1909807 to your computer and use it in GitHub Desktop.
Save yanaga/1909807 to your computer and use it in GitHub Desktop.
nginx proxy configuration
server {
listen 80;
server_name myserver.mydomain.com;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host $host;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment