/[H9]/tags/afleveret/tntnet/config/tntnet.conf
ViewVC logotype

Annotation of /tags/afleveret/tntnet/config/tntnet.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 295 - (hide annotations) (download)
Fri Dec 14 09:47:46 2007 UTC (16 years, 6 months ago) by torben
File size: 1616 byte(s)
taged the report delivery

1 torben 65 # tntnet.conf
2     #
3    
4 torben 67
5     #Settings for "FlisFyr" project
6 torben 77 dburl "postgresql:dbname=flisfyr user=serrenab password=furnacemonitor host=localhost"
7 torben 67 #end of flisfyr settings
8    
9 torben 65 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 torben 85 Load flisfyr #preload the web-application
23 torben 86 EnableCompression no
24 torben 67
25 torben 65 #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