summaryrefslogtreecommitdiff
path: root/package/tntnet/files/tntnet.xml
diff options
context:
space:
mode:
authorJoerg Seitter <adk@seitter.net>2014-08-13 22:33:53 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-08-22 09:49:59 +0200
commit393749a40be0bd7f09a87a516d45d124d161a159 (patch)
treedde55acf85e603eaf72f90b4af29da2cbabc3870 /package/tntnet/files/tntnet.xml
parent714696cfac2e9b6c3a010275dfb9ee8b7f250fd7 (diff)
updated tntnet config file
Format of configuration has changed to xml Signed-off-by: Joerg Seitter <adk@seitter.net>
Diffstat (limited to 'package/tntnet/files/tntnet.xml')
-rw-r--r--package/tntnet/files/tntnet.xml49
1 files changed, 49 insertions, 0 deletions
diff --git a/package/tntnet/files/tntnet.xml b/package/tntnet/files/tntnet.xml
new file mode 100644
index 000000000..2d4f160d1
--- /dev/null
+++ b/package/tntnet/files/tntnet.xml
@@ -0,0 +1,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>