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
|
@ -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 New Issue