Added back in debugging response header

This commit is contained in:
Mcat12 2016-01-17 20:36:59 -05:00
parent 6d7cbe5b35
commit bb79d5332c

View file

@ -37,3 +37,9 @@ $HTTP["url"] =~ "^/admin/" {
# Create a response header for debugging using curl -I
setenv.add-response-header = ( "X-Pi-hole" => "The Pi-hole Web interface is working!" )
}
# If the URL does not start with /admin, then it is a query for an ad domain
$HTTP["url"] =~ "^(?!/admin)/.*" {
# Create a response header for debugging using curl -I
setenv.add-response-header = ( "X-Pi-hole" => "A black hole for Internet advertisements." )
}