Skip to content

Instantly share code, notes, and snippets.

@linktohack
Created September 29, 2015 07:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linktohack/b21f4b66703d9af74ca0 to your computer and use it in GitHub Desktop.
Save linktohack/b21f4b66703d9af74ca0 to your computer and use it in GitHub Desktop.
Lighttpd simple configuration
server.document-root = "/home/link/Downloads"
server.port = 3000
mimetype.assign = (
".html" => "text/html",
".txt" => "text/plain",
".jpg" => "image/jpeg",
".png" => "image/png"
)
dir-listing.activate = "enable"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment