Skip to content

Instantly share code, notes, and snippets.

@einkoro
Created May 6, 2014 06:27
Show Gist options
  • Save einkoro/e73f3ba2021bc614652a to your computer and use it in GitHub Desktop.
Save einkoro/e73f3ba2021bc614652a to your computer and use it in GitHub Desktop.
Oyster fastcgi with lighttpd
$HTTP["host"] =~ "(^www\.|^)bitpiston\.com" {
server.name = "bitpiston.com"
server.document-root = "/home/bitpiston/www/"
server.error-handler-404 = "/oyster.fcgi"
alias.url = (
"/styles/" => "/home/bitpiston/oyster/site/styles/",
"/files/" => "/home/bitpiston/oyster/site/files/"
)
fastcgi.server = ( ".fcgi" =>
( "bitpiston" =>
(
"socket" => "/var/run/oyster-bitpiston.sock",
"check-local" => "disable",
)
)
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment