/[H9]/trunk/tntnet/config/tntnet.conf
ViewVC logotype

Contents of /trunk/tntnet/config/tntnet.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 86 - (show annotations) (download)
Wed Nov 28 20:19:40 2007 UTC (16 years, 5 months ago) by torben
File size: 1616 byte(s)
More tntnet configuration

1 # tntnet.conf
2 #
3
4
5 #Settings for "FlisFyr" project
6 dburl "postgresql:dbname=flisfyr user=serrenab password=furnacemonitor host=localhost"
7 #end of flisfyr settings
8
9 PropertyFile /etc/tntnet/tntnet.properties
10 Listen 0.0.0.0 80
11 #SslListen 0.0.0.0 443 /etc/tntnet/tntnet.pem
12
13 Daemon 1
14 User www-data
15 Group www-data
16 CompPath /usr/lib/tntnet
17 CompPath /home/torben/tntnet/dynamic
18
19 # set some limit to prevent DoS-attacks
20 MaxRequestSize 1048576 # 1 MB
21
22 Load flisfyr #preload the web-application
23 EnableCompression no
24
25 #Dir /
26 #Chroot /var/safedir
27 PidFile /var/run/tntnet.pid
28 #Daemon 0
29 #MinThreads 5
30 #MaxThreads 10
31 #ThreadStartDelay 0 # in ms
32 #QueueSize 100
33 #CompPath path
34 #Load webapp # preload webapplication
35 #BufferSize 16384
36 #SocketReadTimeout 200
37 #SocketWriteTimeout 10000
38 #KeepAliveTimeout 15000
39 #KeepAliveMax 100
40 #SessionTimeout 300
41 #CompLifetime 10
42 #MaxRequestTime 600
43 #ReportStateTime 1200
44
45 include /etc/tntnet.d/*.conf
46 include /etc/tntnet/mime.conf
47
48 # make demos callable
49 MapUrl ^/dynamic/(.*)\..* $1@flisfyr
50 MapUrl ^/dynamic/(.*) $1@flisfyr
51 MapUrl ^/dynamic$ redirect@tntnet /dynamic/
52 MapUrl ^/dynamic/$ index@flisfyr
53
54 MapUrl ^/$ redirect@tntnet /dynamic/
55
56 # configure tntnet as a simple webserver
57 MapUrl .* mime@tntnet
58 MapUrl ^/(.*/)?$ static@tntnet /home/torben/tntnet/static/$1index.html
59 MapUrl ^/(.*)$ static@tntnet /home/torben/tntnet/static/$1

  ViewVC Help
Powered by ViewVC 1.1.20