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

Annotation of /trunk/tntnet/config/tntnet.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 67 - (hide annotations) (download)
Tue Nov 27 14:23:18 2007 UTC (16 years, 6 months ago) by torben
File size: 1538 byte(s)
Added db config to tntnet.conf


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

  ViewVC Help
Powered by ViewVC 1.1.20