mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 10:43:55 +00:00
Update lighttpd.conf.debian
Allow for password protection (or other user-initiated options) without clobbering already chosen user options.
This commit is contained in:
parent
edf81a232d
commit
47cba83450
1 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
||||||
server.modules = (
|
server.modules = (
|
||||||
"mod_access",
|
"mod_access",
|
||||||
"mod_accesslog",
|
"mod_accesslog",
|
||||||
|
"mod_auth",
|
||||||
"mod_expire",
|
"mod_expire",
|
||||||
"mod_compress",
|
"mod_compress",
|
||||||
"mod_redirect",
|
"mod_redirect",
|
||||||
|
@ -59,3 +60,6 @@ $HTTP["url"] =~ "^(?!/admin)/.*" {
|
||||||
# rewrite only js requests
|
# rewrite only js requests
|
||||||
url.rewrite = ("(.*).js" => "pihole/index.js")
|
url.rewrite = ("(.*).js" => "pihole/index.js")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Add user chosen options held in external file
|
||||||
|
include_shell "cat external.conf 2>/dev/null"
|
||||||
|
|
Loading…
Reference in a new issue