templates/config/server.template

Thu, 18 Aug 2022 16:54:57 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Thu, 18 Aug 2022 16:54:57 +0200
branch
webdav
changeset 379
4e2cb3adc0f2
parent 257
bfeb015c98a4
permissions
-rw-r--r--

pg_vfs_open stores the resource_id in rq->vars

#
# server.conf
#

Runtime
{
	Temp        /tmp/webserver-rw6pgl8b/
	User        webservd
	MimeFile    mime.types
}

LogFile
{
	File        logs/errors
	Level       INFO
}

AccessLog
{
	File        logs/access
}

EventHandler
{
    Name        default
    Threads     1
    Default     true
}

Threadpool
{
    Name        default
    MinThreads  4
    MaxThreads  32
}

Listener
{
    Name        http-listener-1
    Port        9090
    DefaultVS   %%WS_HOST%%
}

Listener
{
    Name        http-listener-2
    Port        9091
    DefaultVS   %%WS_HOST%%
}

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/ 
}




mercurial