lweb/cfg/hosts/sample.xml_

43 lines
1.1 KiB
XML

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