Socket conditional example (SSL) for a lighttpd instance to do another port
#### SSL engine $SERVER["socket"] == "207.7.108.166:443" { ssl.engine = "enable" ssl.pemfile = "/usr/local/openssl/certs/wildcard.textdrive.com.pem" }
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
Jason Hoffman http://textdrive.com/
#### SSL engine $SERVER["socket"] == "207.7.108.166:443" { ssl.engine = "enable" ssl.pemfile = "/usr/local/openssl/certs/wildcard.textdrive.com.pem" }
fastcgi.server = ( ".fcgi" => ( "localhost" => ( "socket" => "/tmp/textdrive-new.socket", "bin-path" => "/users/home/website/web/public/dispatch.fcgi", "bin-environment" => ( "RAILS_ENV" => "production" ) ) ), ".php" => ( "localhost" => ( "socket" => "/tmp/textdrive-php5-fcgi.socket", "bin-path" => "/usr/local/www/cgi-bin/php5-fcgi", "bin-environment" => ( "PHP_FCGI_CHILDREN" => "4", "PHP_FCGI_MAX_REQUESTS" => "5000" ) ) ) )