templates/config/server.template

Sun, 27 Nov 2022 13:33:30 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 27 Nov 2022 13:33:30 +0100
changeset 443
ef3c8a0e1fee
parent 257
bfeb015c98a4
permissions
-rw-r--r--

improve daemon startup
parent will wait until daemon is started and returns error code if startup failed
daemon startup log messages will be printed by parent

40
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
1 #
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
2 # server.conf
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
3 #
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
4
257
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
5 Runtime
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
6 {
40
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
7 Temp /tmp/webserver-rw6pgl8b/
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
8 User webservd
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
9 MimeFile mime.types
257
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
10 }
40
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
11
257
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
12 LogFile
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
13 {
40
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
14 File logs/errors
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
15 Level INFO
257
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
16 }
40
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
17
257
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
18 AccessLog
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
19 {
45
a24aa388f02f added access log
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 40
diff changeset
20 File logs/access
257
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
21 }
45
a24aa388f02f added access log
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 40
diff changeset
22
257
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
23 EventHandler
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
24 {
40
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
25 Name default
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
26 Threads 1
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
27 Default true
257
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
28 }
40
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
29
257
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
30 Threadpool
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
31 {
40
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
32 Name default
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
33 MinThreads 4
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
34 MaxThreads 32
257
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
35 }
40
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
36
257
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
37 Listener
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
38 {
40
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
39 Name http-listener-1
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
40 Port 9090
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
41 DefaultVS %%WS_HOST%%
257
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
42 }
40
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
43
257
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
44 Listener
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
45 {
40
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
46 Name http-listener-2
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
47 Port 9091
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
48 DefaultVS %%WS_HOST%%
257
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
49 }
40
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
50
257
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
51 VirtualServer
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
52 {
40
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
53 Name %%WS_HOST%%
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
54 Host %%WS_HOST%%
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
55 Listener http-listener-1
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
56 Listener http-listener-2
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
57 ObjectFile obj.conf
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
58 ACLFile acl.conf
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
59 DAVFile dav.conf
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
60 DocRoot docs/
257
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
61 }
40
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
62
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
63
257
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
64
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
65
bfeb015c98a4 update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
66

mercurial