lweb/cfg/hosts/sample.xml

55 lines
1.4 KiB
XML
Raw Normal View History

2023-03-29 10:39:26 +02:00
<?xml version="1.0" encoding="UTF-16"?>
<host>
<description>Sample Server</description>
<http>
<enabled>1</enabled>
2023-03-29 20:03:54 +02:00
<port>8085</port>
2023-03-29 10:39:26 +02:00
<binding>0.0.0.0</binding>
<max_clients>100</max_clients>
<reuse>0</reuse>
</http>
<https>
<enabled>1</enabled>
2023-03-29 20:03:54 +02:00
<port>8445</port>
2023-03-29 10:39:26 +02:00
<binding>0.0.0.0</binding>
<max_clients>100</max_clients>
<reuse>0</reuse>
<CA>fullchain.pem</CA>
<Certs>cert.pem</Certs>
<key>privkey.pem</key>
<key_pass/>
</https>
<cache>
<time>120</time>
<maxsize>1</maxsize>
<current>0</current>
<enable>0</enable>
</cache>
<log>
<DebuglogFile>default_debug.log</DebuglogFile>
<Debugdisable>0</Debugdisable>
<AccesslogFile>default_access.log</AccesslogFile>
<ErrorlogFile>default_error.log</ErrorlogFile>
<CachelogFile>default_cache.log</CachelogFile>
</log>
<mem>
<MaxFileSize>524288</MaxFileSize>
<DefaultBlockSize>65536</DefaultBlockSize>
</mem>
2023-03-29 20:03:54 +02:00
<dynamichandler>
<element key="/post_test">
<functiontype>Universal</functiontype>
<file>/home/renlin/dev/LiHaSo/lweb/testfunction.so</file>
<proc>post_test</proc>
<routetype>handler_only</routetype>
<url>/post_test</url>
<extension/>
<permlib>false</permlib>
</element>
</dynamichandler>
2023-03-29 10:39:26 +02:00
<defaultfile>index.html</defaultfile>
<basedir>/home/renlin/testweb/</basedir>
<status/>
</host>