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