templates/config/server.template

Wed, 25 Jan 2017 11:50:19 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 25 Jan 2017 11:50:19 +0100
branch
srvctrl
changeset 158
77f4f0079428
parent 45
a24aa388f02f
child 257
bfeb015c98a4
permissions
-rw-r--r--

adds reconfig and shutdown handler to srvctrl

#
# server.conf
#

<Runtime>
	Temp        /tmp/webserver-rw6pgl8b/
	User        webservd
	MimeFile    mime.types
</Runtime>

<LogFile>
	File        logs/errors
	Level       INFO
</LogFile>

<AccessLog>
	File        logs/access
</AccessLog>

<EventHandler>
    Name        default
    Threads     1
    Default     true
</EventHandler>

<Threadpool>
    Name        default
    MinThreads  4
    MaxThreads  32
</Threadpool>

<Listener>
    Name        http-listener-1
    Port        9090
    DefaultVS   %%WS_HOST%%
</Listener>

<Listener>
    Name        http-listener-2
    Port        9091
    DefaultVS   %%WS_HOST%%
</Listener>

<VirtualServer>
	Name        %%WS_HOST%%
	Host        %%WS_HOST%%
    Listener    http-listener-1
    Listener    http-listener-2
    ObjectFile  obj.conf
    ACLFile     acl.conf
    DAVFile     dav.conf
    DocRoot     docs/ 
</VirtualServer>

mercurial