blob: 2d4f160d1f3c14dc5560a11edb1884417a2cc597 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
<?xml version="1.0" encoding="UTF-8"?>
<tntnet>
<mappings>
<mapping>
<target>static@tntnet</target>
<url>(.*)/$</url>
<pathinfo>/$1/index.html</pathinfo>
</mapping>
<mapping>
<target>static@tntnet</target>
<url>^/(.*)$</url>
<pathinfo>/$1</pathinfo>
</mapping>
</mappings>
<listeners>
<listener>
<ip>0.0.0.0</ip>
<port>80</port>
</listener>
</listeners>
<daemon>1</daemon>
<user>tntnet</user>
<group>tntnet</group>
<maxRequestSize>1048576</maxRequestSize>
<pidFile>/var/run/tntnet.pid</pidFile>
<minThreads>2</minThreads>
<maxThreads>4</maxThreads>
<documentRoot>/www</documentRoot>
<compPath>
<entry>/usr/lib/tntnet</entry>
</compPath>
<logging>
<rootlogger>INFO</rootlogger>
<loggers>
<logger>
<category>tntnet</category>
<level>INFO</level>
</logger>
</loggers>
<!-- <file>tntnet.log</file> --> <!--uncomment if you want to log to a file -->
<!-- <maxfilesize>1MB</maxfilesize> -->
<!-- <maxbackupindex>2</maxbackupindex> -->
<!-- <host>localhost:1234</host> --> <!-- # send log-messages with udp -->
</logging>
<include>/etc/tntnet/mime.conf</include>
</tntnet>
|