Skip to content

Instantly share code, notes, and snippets.

@0x00009b
Created October 17, 2021 16:53
Show Gist options
  • Save 0x00009b/dd93466e9a0d61f84583b00cc24032f7 to your computer and use it in GitHub Desktop.
Save 0x00009b/dd93466e9a0d61f84583b00cc24032f7 to your computer and use it in GitHub Desktop.
server.document-root = "/home/user/light/pages/"
server.port = "8080"
server.bind = "127.0.0.1"
server.username = "user"
server.groupname = "www"
accesslog.filename = "/home/user/light/logs/access"
server.errorlog = "/home/user/light/logs/error"
server.modules = (
"mod_redirect",
"mod_access",
"mod_setenv",
"mod_compress",
"mod_accesslog" )
mimetype.assign = (
".css" => "text/css; charset=utf-8",
".html" => "text/html; charset=utf-8",
".htm" => "text/html; charset=utf-8",
".txt" => "text/plain; charset=utf-8",
".png" => "image/png; charset=utf-8",
".jpg" => "image/jpeg; charset=utf-8",
".jpeg" => "image/jpeg; charset=utf-8",
".gif" => "image/gif; charset=utf-8",
".ogg" => "application/ogg; charset=utf-8" )
static-file.exclude-extensions = ( "~", ".inc" )
index-file.names = ( "index.html", "index.htm" )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment