54 lines
1.4 KiB
XML
54 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-16"?>
|
|
|
|
<host>
|
|
<description>Sample Server</description>
|
|
<http>
|
|
<enabled>1</enabled>
|
|
<port>8085</port>
|
|
<binding>0.0.0.0</binding>
|
|
<max_clients>100</max_clients>
|
|
<reuse>0</reuse>
|
|
</http>
|
|
<https>
|
|
<enabled>1</enabled>
|
|
<port>8445</port>
|
|
<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>
|
|
<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>
|
|
<defaultfile>index.html</defaultfile>
|
|
<basedir>/home/renlin/testweb/</basedir>
|
|
<status/>
|
|
</host>
|