diff options
author | W. Michael Petullo <mike@flyn.org> | 2014-09-21 17:40:18 -0400 |
---|---|---|
committer | W. Michael Petullo <mike@flyn.org> | 2014-09-21 17:40:18 -0400 |
commit | f7fd574f2a89c71ef37ae6fbc7516d860d4eaf15 (patch) | |
tree | 6e51c60dfac1d4a1f025586773baeeeffeb13dcd /net/lighttpd/files | |
parent | a0885f117ef945787b0d0572572d8798fdcb3268 (diff) |
lighttpd: clean up configuration file
Signed-off-by: W. Michael Petullo <mike@flyn.org>
Diffstat (limited to 'net/lighttpd/files')
-rw-r--r-- | net/lighttpd/files/lighttpd.conf | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/net/lighttpd/files/lighttpd.conf b/net/lighttpd/files/lighttpd.conf index a52d08f6d..04b06bc3b 100644 --- a/net/lighttpd/files/lighttpd.conf +++ b/net/lighttpd/files/lighttpd.conf @@ -1,31 +1,28 @@ -# lighttpd configuration file -# server.modules = ( ) -### only root can use these options -#server.chroot = "/" - -######### Options that are good to be but not neccesary to be changed ####### -#server.port = 81 -#server.bind = "localhost" server.document-root = "/www" server.upload-dirs = ( "/tmp" ) server.errorlog = "/var/log/lighttpd/error.log" server.pid-file = "/var/run/lighttpd.pid" server.username = "http" server.groupname = "www-data" -#server.tag = "lighttpd" -#server.errorlog-use-syslog = "enable" -#server.network-backend = "write" index-file.names = ( "index.php", "index.html", "index.htm", "default.htm", - " index.lighttpd.html" ) + "index.lighttpd.html" ) static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ) -## Use ipv6 if available +### Options that are useful but not always necessary: +#server.chroot = "/" +#server.port = 81 +#server.bind = "localhost" +#server.tag = "lighttpd" +#server.errorlog-use-syslog = "enable" +#server.network-backend = "write" + +### Use IPv6 if available #include_shell "/usr/share/lighttpd/use-ipv6.pl" #dir-listing.encoding = "utf-8" @@ -33,6 +30,3 @@ static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ) include "/etc/lighttpd/mime.conf" include_shell "cat /etc/lighttpd/conf.d/*.conf" - - - |