Skip to content

Instantly share code, notes, and snippets.

@MatthaeusHarris
Created November 3, 2011 21:22
Show Gist options
  • Save MatthaeusHarris/1337815 to your computer and use it in GitHub Desktop.
Save MatthaeusHarris/1337815 to your computer and use it in GitHub Desktop.
Multiple sites on multiple ports on one machine
{
"webhosts": {
"example.com": {
"aliases": ["www.example.com"],
"docroot": "/var/www/example.com",
"ports": [80,443]
},
"foo.example.com": {
"aliases": ["www.foo.example.com"],
"docroot": "/var/www/foo.example.com",
"ports": [8080]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment