Skip to content

Instantly share code, notes, and snippets.

@ndarilek
Created September 17, 2010 21:44
Show Gist options
  • Save ndarilek/585007 to your computer and use it in GitHub Desktop.
Save ndarilek/585007 to your computer and use it in GitHub Desktop.
thewordnerd = Host(name="thewordnerd.info" routes = {"/": Dir(base="static/thewordnerd.info/", index_file="index.html")})
www_thewordnerd = Host(name="www.thewordnerd.info", routes = {"/": Dir(base="static/thewordnerd.info/", index_file="index.html")})
spielproject = Host(name="spielproject.info" routes = {"/": Proxy(addr='127.0.0.1', port=9000)})
www_spielproject = Host(name="www.spielproject.info", routes={"/": Proxy(addr='127.0.0.1', port=9000)})
hudson = Host(name="hudson.thewordnerd.info" routes={
"/": Proxy(addr='127.0.0.1', port=9001)
})
diaspora = Host(name="diaspora.thewordnerd.info" routes={
"/": Proxy(addr='127.0.0.1', port=9002)
})
dev = Host(name="dev.thewordnerd.info" routes={"/": Proxy(addr="127.0.0.1", port=8172)})
hermesgps = Host(name="hermesgps.info" routes={"/": Proxy(addr="127.0.0.1", port=6345)})
www_hermesgps = Host(name="www.hermesgps.info" routes={"/": Proxy(addr="127.0.0.1", port=6345)})
main = Server(
name="main"
uuid="main",
access_log="/logs/access.log",
error_log="/logs/error.log",
chroot="./",
default_host="thewordnerd.info",
pid_file="/run/mongrel2.pid",
port=80,
hosts = [
thewordnerd www_thewordnerd,
spielproject www_spielproject
hudson
diaspora
dev
hermesgps www_hermesgps
]
)
servers = [main]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment