/[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

Diff of /etc/lighttpd.conf

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 63 by dpavlin, Wed Apr 9 21:33:50 2008 UTC revision 64 by dpavlin, Wed Apr 9 22:21:30 2008 UTC
# Line 1  Line 1 
1  # a3c  # 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" )  server.modules += ( "mod_fastcgi" )
7  server.document-root = "/srv/A3C/share/web/templates"  server.modules += ( "mod_redirect" )
8  fastcgi.server = ( "" =>  
9          ((  $SERVER["socket"] == "192.168.50.127:443" {
10                  "socket"       => "/tmp/a3c.socket",          protocol = "https://"
11                  "check-local"  => "disable",  
12                  "bin-path"     => "/srv/A3C/bin/jifty",          ssl.engine = "enable"
13                  "bin-environment" => ( "JIFTY_COMMAND" => "fastcgi" ),          ssl.pemfile = "/srv/A3C/etc/a3c.pem"
14                  "min-procs"    => 1,  
15                  "max-procs"    => 5,          server.document-root = "/srv/A3C/share/web/templates"
16                  "max-load-per-proc" => 1,          fastcgi.server = ( "" =>
17                  "idle-timeout" => 20,                  ((
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    

Legend:
Removed from v.63  
changed lines
  Added in v.64

  ViewVC Help
Powered by ViewVC 1.1.26