/usr/share/doc/mongrel2-core/examples/configs/multi.conf is in mongrel2-core 1.11.0-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | main = Server(
uuid="f400bf85-4538-4f7a-8908-67e313d515c2",
access_log="/logs/access.log",
error_log="/logs/error.log",
chroot="./",
default_host="localhost",
name="test",
pid_file="/run/mongrel2.pid",
port=6767,
hosts = [
Host(name="localhost", routes={
'/dev/null/(.*)': Dir(base='tests/', index_file='index.html',
default_ctype='text/plain')
})
]
)
sub = Server(
uuid="e3ce7982-086f-4374-adde-bee320d509e6",
access_log="/logs/access.log",
error_log="/logs/error.log",
chroot="./",
default_host="sub",
name="sub",
pid_file="/run/mongrel2.pid",
port=6767,
hosts = [
Host(name="sub", routes={
'/dev/null/(.*)': Dir(base='tests/', index_file='index.html',
default_ctype='text/plain')
})
]
)
foo = Server(
uuid="2355e656-fac6-41c8-9cba-4977b937cb94",
access_log="/logs/access.log",
error_log="/logs/error.log",
chroot="./",
default_host="foo",
name="sub",
pid_file="/run/mongrel2.pid",
port=6767,
hosts = [
Host(name="foo", routes={
'/dev/null/(.*)': Dir(base='tests/', index_file='index.html',
default_ctype='text/plain')
})
]
)
servers = [main, foo, sub]
|