Skip to content

Instantly share code, notes, and snippets.

@indeyets
Created December 14, 2010 12:25
Show Gist options
  • Save indeyets/740344 to your computer and use it in GitHub Desktop.
Save indeyets/740344 to your computer and use it in GitHub Desktop.
mongrel2-appserver.conf
mongrel2 = Host(name="localhost", routes={
'/': Handler(
send_spec='tcp://127.0.0.1:9997',
send_ident='53f9f1d1-1116-4751-b6ff-4fbe3e43d142',
recv_spec='tcp://127.0.0.1:9996', recv_ident='')
})
main = Server(
uuid="82209006-86FF-4982-B5EA-D1E29E55D481",
access_log="/logs/access.log",
error_log="/logs/error.log",
chroot="./",
pid_file="/run/mongrel2.pid",
default_host="localhost",
name="main",
port=6767,
hosts=[mongrel2]
)
servers = [main]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment