Suggestion for #31

A suggestion for issue #31
This commit is contained in:
wforums 2015-09-08 17:23:32 +02:00
parent 23713d82a0
commit 4fd49fc3f9

View file

@ -34,5 +34,8 @@ $HTTP["url"] =~ "^/pihole/" {
# Rewrites all URLs to the /var/www/pihole/index.html
$HTTP["host"] =~ ".*" {
url.rewrite = (".*" => "pihole/index.html")
url.rewrite = (
"^/pi-hole-admin/admin.php.*" => "pihole/admin.html",
".*" => "pihole/index.html"
)
}