Created
October 23, 2018 19:21
-
-
Save ParasoftExamples/f0a1aadb564911e68531b5f17d3717f2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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