Update lighttpd.conf.fedora

Allow for password protection (or other user-initiated options) without clobbering already chosen user options.
This commit is contained in:
Steve Dobinson 2016-09-20 10:38:58 +01:00 committed by GitHub
parent 47cba83450
commit 737b510116
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,7 @@
server.modules = (
"mod_access",
"mod_auth",
"mod_fastcgi",
"mod_accesslog",
"mod_expire",
@ -75,3 +76,6 @@ $HTTP["url"] =~ "^(?!/admin)/.*" {
# rewrite only js requests
url.rewrite = ("(.*).js" => "pihole/index.js")
}
# Add user chosen options held in external file
include_shell "cat external.conf 2>/dev/null"