mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-24 07:03:43 +00:00
Add 1x1 pixel Transparent GIF as 404 redirect
This commit is contained in:
parent
1630007579
commit
5f7f5afec0
1 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@ server.pid-file = "/var/run/lighttpd.pid"
|
|||
server.username = "www-data"
|
||||
server.groupname = "www-data"
|
||||
server.port = 80
|
||||
server.error-handler-404 = "/Transparent.gif"
|
||||
|
||||
|
||||
index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )
|
||||
|
@ -32,4 +33,4 @@ include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
|
|||
# This should be a blank file (for speed)
|
||||
$HTTP["host"] =~ ".*" {
|
||||
url.rewrite = (".*" => "pihole/index.html")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue