templates/config/server.template

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

mercurial