/[A3C]/etc/lighttpd.conf
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /etc/lighttpd.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 64 - (show annotations)
Wed Apr 9 22:21:30 2008 UTC (14 years, 4 months ago) by dpavlin
File size: 791 byte(s)
make application SSL secured by default

1 # libhttpd configuration for A3C
2
3 # create certificate with
4 # openssl req -new -x509 -keyout a3c.pem -out a3c.pem -days 365 -nodes
5
6 server.modules += ( "mod_fastcgi" )
7 server.modules += ( "mod_redirect" )
8
9 $SERVER["socket"] == "192.168.50.127:443" {
10 protocol = "https://"
11
12 ssl.engine = "enable"
13 ssl.pemfile = "/srv/A3C/etc/a3c.pem"
14
15 server.document-root = "/srv/A3C/share/web/templates"
16 fastcgi.server = ( "" =>
17 ((
18 "socket" => "/tmp/a3c.socket",
19 "check-local" => "disable",
20 "bin-path" => "/srv/A3C/bin/jifty",
21 "bin-environment" => ( "JIFTY_COMMAND" => "fastcgi" ),
22 "min-procs" => 1,
23 "max-procs" => 5,
24 "max-load-per-proc" => 1,
25 "idle-timeout" => 20,
26 ))
27 )
28
29 } else $HTTP["host"] =~ "(.*)" {
30 url.redirect = ( "^/(.*)" => "https://%1/$1" )
31 }
32

  ViewVC Help
Powered by ViewVC 1.1.26