mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-28 09:03:17 +00:00
Add 404 redirect to 1x1 Transparent GIF
Returning a 1x1 Transparent GIF instead of an HTTP 404 error is cleaner and faster from a browser UI/UX perspective.
This commit is contained in:
parent
5d322f2dd2
commit
73221614e0
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ server.pid-file = "/var/run/lighttpd.pid"
|
||||||
server.username = "www-data"
|
server.username = "www-data"
|
||||||
server.groupname = "www-data"
|
server.groupname = "www-data"
|
||||||
server.port = 80
|
server.port = 80
|
||||||
|
server.error-handler-404 = "/Transparent.gif"
|
||||||
|
|
||||||
|
|
||||||
index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )
|
index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )
|
||||||
|
|
Loading…
Reference in a new issue