summaryrefslogtreecommitdiff
path: root/package/tntnet/files/tntnet.conf
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/tntnet/files/tntnet.conf
Initial import
Diffstat (limited to 'package/tntnet/files/tntnet.conf')
-rw-r--r--package/tntnet/files/tntnet.conf49
1 files changed, 49 insertions, 0 deletions
diff --git a/package/tntnet/files/tntnet.conf b/package/tntnet/files/tntnet.conf
new file mode 100644
index 000000000..c51c47bc2
--- /dev/null
+++ b/package/tntnet/files/tntnet.conf
@@ -0,0 +1,49 @@
+# tntnet.conf
+
+PropertyFile /etc/tntnet/tntnet.properties
+Listen 0.0.0.0 80
+#SslListen 0.0.0.0 443 /etc/tntnet/tntnet.pem
+
+Daemon 1
+User tntnet
+Group tntnet
+CompPath /usr/lib/tntnet
+
+# set some limit to prevent DoS-attacks
+MaxRequestSize 1048576 # 1 MB
+
+#Dir /
+#Chroot /var/safedir
+PidFile /var/run/tntnet.pid
+MinThreads 2
+MaxThreads 4
+#ThreadStartDelay 0 # in ms
+#QueueSize 100
+#CompPath path
+#Load webapp # preload webapplication
+#BufferSize 16384
+#SocketReadTimeout 200
+#SocketWriteTimeout 10000
+#KeepAliveTimeout 15000
+#KeepAliveMax 100
+#SessionTimeout 300
+#CompLifetime 10
+#MaxRequestTime 600
+#ReportStateTime 1200
+
+#include /etc/tntnet.d/*.conf
+include /etc/tntnet/mime.conf
+
+# make demos callable
+#MapUrl ^/demos/controls$ redirect@tntnet /demos/controls/
+#MapUrl ^/demos/controls/(.+)\..* $1@controls
+#MapUrl ^/demos/controls/$ index@controls index
+#MapUrl ^/demos/controls/(.+) index@controls $1
+#MapUrl ^/demos/(.+)\..* $1@$1 $1
+#MapUrl ^/demos/(.+) $1@$1
+#MapUrl ^/demos/tntnet.jpg tntnet@hello
+
+# configure tntnet as a simple webserver
+DocumentRoot /www
+MapUrl (.*)/$ static@tntnet /$1/index.html
+MapUrl ^/(.*)$ static@tntnet /$1