hoodiehq/local-tld — pull request #21 by demands (2013-08-03 16:25:04+00:00)
Title: Are aliases meant to be an array?

Allowing for a config to look like this:

```json
{
"3000": {
"name": "mysite",
"aliases": ["www", "manage", "admin", "status"]
}
}
```

to proxy to:

```json
{ "localhost": "127.0.0.1:80",
"mysite.dev": "127.0.0.1:3000",
"mysite.192.168.1.144.xip.io": "127.0.0.1:3000",
".*www.mysite.dev": "127.0.0.1:3000",
".*www.mysite.192.168.1.144.xip.io": "127.0.0.1:3000",
".*manage.mysite.dev": "127.0.0.1:3000",
".*manage.mysite.192.168.1.144.xip.io": "127.0.0.1:3000",
".*admin.mysite.dev": "127.0.0.1:3000",
".*admin.mysite.192.168.1.144.xip.io": "127.0.0.1:3000",
".*status.mysite.dev": "127.0.0.1:3000",
".*status.mysite.192.168.1.144.xip.io": "127.0.0.1:3000" }
```