Skip to content

Instantly share code, notes, and snippets.

@xspager
Last active February 19, 2016 01:05
Show Gist options
  • Save xspager/b52c285f97d6fd3b50c9 to your computer and use it in GitHub Desktop.
Save xspager/b52c285f97d6fd3b50c9 to your computer and use it in GitHub Desktop.
server.modules += ( "mod_rewrite" )
fastcgi.debug = 1
# serve index pages
url.rewrite = ( "^(/.*)$" => "/index.lua$1" )
index-file.names += ("index.lua",)
fastcgi.server = (
"/" => ((
#"socket" => "/var/run/lighttpd/fastcgi.python.socket",
"host" => "127.0.0.1",
"port" => "9000",
"check-local" => "disable",
"max-procs" => 1,
"docroot" => "/home/dlemos",
))
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment