beautify code
This commit is contained in:
parent
2a9611467b
commit
ed939ed21c
@ -1,7 +1,8 @@
|
||||
# See http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ConfigurationOptions
|
||||
|
||||
### LOAD MODULES
|
||||
server.modules = ( "mod_access",
|
||||
server.modules = (
|
||||
"mod_access",
|
||||
"mod_accesslog",
|
||||
"mod_fastcgi",
|
||||
"mod_redirect",
|
||||
@ -29,13 +30,15 @@ dir-listing.activate = "disable"
|
||||
server.reject-expect-100-with-417 = "disable"
|
||||
|
||||
### DEFINE SUPPORTED INDEX FILENAMES
|
||||
index-file.names = ( "index.html",
|
||||
index-file.names = (
|
||||
"index.html",
|
||||
"index.htm",
|
||||
"index.php"
|
||||
)
|
||||
|
||||
### DEFINE SUPPORTED MIME TYPES
|
||||
mimetype.assign = ( ".html" => "text/html",
|
||||
mimetype.assign = (
|
||||
".html" => "text/html",
|
||||
".htm" => "text/html",
|
||||
".css" => "text/css",
|
||||
".txt" => "text/plain",
|
||||
@ -62,8 +65,8 @@ fastcgi.server = (
|
||||
### ENABLE SSL
|
||||
$SERVER["socket"] == ":443" {
|
||||
ssl.engine = "enable"
|
||||
ssl.ca-file = "/etc/lighttpd/certs/ca-certs.crt"
|
||||
ssl.pemfile = "/etc/lighttpd/certs/red-ssl.crt"
|
||||
ssl.ca-file = "/etc/lighttpd/certs/ca-certs.crt" #adjust to your needs
|
||||
ssl.pemfile = "/etc/lighttpd/certs/red-ssl.crt" #adjust to your needs
|
||||
}
|
||||
|
||||
### RISTRICT ACCESS TO DIRECTORYS AND FILES
|
Reference in New Issue
Block a user