Skip to content

Instantly share code, notes, and snippets.

@ParasoftExamples
Created October 23, 2018 19:21
Show Gist options
  • Save ParasoftExamples/f0a1aadb564911e68531b5f17d3717f2 to your computer and use it in GitHub Desktop.
Save ParasoftExamples/f0a1aadb564911e68531b5f17d3717f2 to your computer and use it in GitHub Desktop.
server.modules = (
"mod_openssl",
"mod_access",
"mod_accesslog",
)
server.port = 8080
server.username = "USER"
server.groupname = "GROUP"
server.document-root = "/home/USER/heartbleed/srv"
server.errorlog = "/home/USER/heartbleed/lighttpd_error.log"
accesslog.filename = "/home/USER/heartbleed/lighttpd_access.log"
dir-listing.activate = "enable"
index-file.names = ( "index.html" )
mimetype.assign = (
".html" => "text/html"
".txt" => "text/plain"
".css" => "text/css"
".js" => "application/x-javascript"
".jpg" => "image/jpeg"
".jpeg" => "image/jpeg"
".gif" => "image/gif"
".png" => "image/png"
"" => "application/octet-stream"
)
$SERVER["socket"] == ":4443" {
ssl.engine = "enable"
ssl.pemfile = "/home/USER/heartbleed/server.pem"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment