mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-24 07:03:43 +00:00
parent
23713d82a0
commit
4fd49fc3f9
1 changed files with 4 additions and 1 deletions
|
@ -34,5 +34,8 @@ $HTTP["url"] =~ "^/pihole/" {
|
||||||
|
|
||||||
# Rewrites all URLs to the /var/www/pihole/index.html
|
# Rewrites all URLs to the /var/www/pihole/index.html
|
||||||
$HTTP["host"] =~ ".*" {
|
$HTTP["host"] =~ ".*" {
|
||||||
url.rewrite = (".*" => "pihole/index.html")
|
url.rewrite = (
|
||||||
|
"^/pi-hole-admin/admin.php.*" => "pihole/admin.html",
|
||||||
|
".*" => "pihole/index.html"
|
||||||
|
)
|
||||||
}
|
}
|
Loading…
Reference in a new issue