update server.template to new file format config

Mon, 24 Aug 2020 17:09:16 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Mon, 24 Aug 2020 17:09:16 +0200
branch
config
changeset 257
bfeb015c98a4
parent 256
19259b6c5cf7
child 258
134279e804b6

update server.template to new file format

templates/config/server.template file | annotate | diff | comparison | revisions
--- a/templates/config/server.template	Mon Aug 24 17:07:41 2020 +0200
+++ b/templates/config/server.template	Mon Aug 24 17:09:16 2020 +0200
@@ -2,46 +2,54 @@
 # server.conf
 #
 
-<Runtime>
+Runtime
+{
 	Temp        /tmp/webserver-rw6pgl8b/
 	User        webservd
 	MimeFile    mime.types
-</Runtime>
+}
 
-<LogFile>
+LogFile
+{
 	File        logs/errors
 	Level       INFO
-</LogFile>
+}
 
-<AccessLog>
+AccessLog
+{
 	File        logs/access
-</AccessLog>
+}
 
-<EventHandler>
+EventHandler
+{
     Name        default
     Threads     1
     Default     true
-</EventHandler>
+}
 
-<Threadpool>
+Threadpool
+{
     Name        default
     MinThreads  4
     MaxThreads  32
-</Threadpool>
+}
 
-<Listener>
+Listener
+{
     Name        http-listener-1
     Port        9090
     DefaultVS   %%WS_HOST%%
-</Listener>
+}
 
-<Listener>
+Listener
+{
     Name        http-listener-2
     Port        9091
     DefaultVS   %%WS_HOST%%
-</Listener>
+}
 
-<VirtualServer>
+VirtualServer
+{
 	Name        %%WS_HOST%%
 	Host        %%WS_HOST%%
     Listener    http-listener-1
@@ -50,6 +58,9 @@
     ACLFile     acl.conf
     DAVFile     dav.conf
     DocRoot     docs/ 
-</VirtualServer>
+}
 
 
+
+
+

mercurial