Skip to content

Instantly share code, notes, and snippets.

@Siim
Created September 23, 2010 18:02
Show Gist options
  • Save Siim/594058 to your computer and use it in GitHub Desktop.
Save Siim/594058 to your computer and use it in GitHub Desktop.
server.modules += ( "mod_fastcgi","mod_rewrite","mod_compress" )
server.document-root = "/home/siim/web/pub/ochart/upload"
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
server.dir-listing = "enable"
index-file.names = ("index.php","index.html")
server.port = 3000
server.name = "neoon.mine.nu"
mimetype.assign = (
".html" => "text/html",
".txt" => "text/plain",
".jpg" => "image/jpeg",
".png" => "image/png" ,
".css" => "text/css",
".js" => "text/javascript"
)
fastcgi.debug = 1
fastcgi.server = (
".php" =>
(( #"host" => "127.0.0.1",
#"port" => 1026,
"socket" => "/tmp/php.sock",
"bin-path" => "/usr/bin/php-cgi"
))
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment