|
|
@ -7,8 +7,6 @@
|
|
|
|
# This file is copyright under the latest version of the EUPL.
|
|
|
|
# This file is copyright under the latest version of the EUPL.
|
|
|
|
# Please see LICENSE file for your rights under this license.
|
|
|
|
# Please see LICENSE file for your rights under this license.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
###############################################################################
|
|
|
|
# FILE AUTOMATICALLY OVERWRITTEN BY PI-HOLE INSTALL/UPDATE PROCEDURE. #
|
|
|
|
# FILE AUTOMATICALLY OVERWRITTEN BY PI-HOLE INSTALL/UPDATE PROCEDURE. #
|
|
|
|
# ANY CHANGES MADE TO THIS FILE AFTER INSTALL WILL BE LOST ON THE NEXT UPDATE #
|
|
|
|
# ANY CHANGES MADE TO THIS FILE AFTER INSTALL WILL BE LOST ON THE NEXT UPDATE #
|
|
|
@ -74,11 +72,12 @@ fastcgi.server = ( ".php" =>
|
|
|
|
|
|
|
|
|
|
|
|
# If the URL starts with /admin, it is the Web interface
|
|
|
|
# If the URL starts with /admin, it is the Web interface
|
|
|
|
$HTTP["url"] =~ "^/admin/" {
|
|
|
|
$HTTP["url"] =~ "^/admin/" {
|
|
|
|
# Create a response header for debugging using curl -I
|
|
|
|
# Create a response header for debugging using curl -I
|
|
|
|
setenv.add-response-header = (
|
|
|
|
setenv.add-response-header = (
|
|
|
|
"X-Pi-hole" => "The Pi-hole Web interface is working!",
|
|
|
|
"X-Pi-hole" => "The Pi-hole Web interface is working!",
|
|
|
|
"X-Frame-Options" => "DENY"
|
|
|
|
"X-Frame-Options" => "DENY"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
$HTTP["url"] =~ ".ttf$" {
|
|
|
|
$HTTP["url"] =~ ".ttf$" {
|
|
|
|
# Allow Block Page access to local fonts
|
|
|
|
# Allow Block Page access to local fonts
|
|
|
|
setenv.add-response-header = ( "Access-Control-Allow-Origin" => "*" )
|
|
|
|
setenv.add-response-header = ( "Access-Control-Allow-Origin" => "*" )
|
|
|
|