Skip to content

Instantly share code, notes, and snippets.

@chanmix51
Created August 2, 2011 13:46
Show Gist options
  • Save chanmix51/1120207 to your computer and use it in GitHub Desktop.
Save chanmix51/1120207 to your computer and use it in GitHub Desktop.
Nginx vhost proxy configuration
server {
listen 80;
server_name my_host;
location / {
proxy_pass http://10.0.2.101;
proxy_set_header Host $http_host;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment