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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 85 - (show annotations) (download)
Wed Nov 28 20:08:49 2007 UTC (16 years, 5 months ago) by torben
File size: 1595 byte(s)
Added a preload directory

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
24 #Dir /
25 #Chroot /var/safedir
26 PidFile /var/run/tntnet.pid
27 #Daemon 0
28 #MinThreads 5
29 #MaxThreads 10
30 #ThreadStartDelay 0 # in ms
31 #QueueSize 100
32 #CompPath path
33 #Load webapp # preload webapplication
34 #BufferSize 16384
35 #SocketReadTimeout 200
36 #SocketWriteTimeout 10000
37 #KeepAliveTimeout 15000
38 #KeepAliveMax 100
39 #SessionTimeout 300
40 #CompLifetime 10
41 #MaxRequestTime 600
42 #ReportStateTime 1200
43
44 include /etc/tntnet.d/*.conf
45 include /etc/tntnet/mime.conf
46
47 # make demos callable
48 MapUrl ^/dynamic/(.*)\..* $1@flisfyr
49 MapUrl ^/dynamic/(.*) $1@flisfyr
50 MapUrl ^/dynamic$ redirect@tntnet /dynamic/
51 MapUrl ^/dynamic/$ index@flisfyr
52
53 MapUrl ^/$ redirect@tntnet /dynamic/
54
55 # configure tntnet as a simple webserver
56 MapUrl .* mime@tntnet
57 MapUrl ^/(.*/)?$ static@tntnet /home/torben/tntnet/static/$1index.html
58 MapUrl ^/(.*)$ static@tntnet /home/torben/tntnet/static/$1

  ViewVC Help
Powered by ViewVC 1.1.20