mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-23 21:30:17 +00:00
Update lighttpd.conf.fedora
Allow for password protection (or other user-initiated options) without clobbering already chosen user options.
This commit is contained in:
parent
47cba83450
commit
737b510116
1 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue