diff --git a/advanced/lighttpd.conf b/advanced/lighttpd.conf index 1c3ed076..9e2691f1 100644 --- a/advanced/lighttpd.conf +++ b/advanced/lighttpd.conf @@ -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" + ) } \ No newline at end of file