1
0
mirror of https://github.com/pi-hole/pi-hole synced 2025-01-06 06:00:54 +00:00

Merge pull request #704 from stonedbovines/development

lighttpd.conf templates change
This commit is contained in:
Jacob Salmela 2016-10-27 20:22:46 -05:00 committed by GitHub
commit 473b58d26d
2 changed files with 8 additions and 0 deletions

View File

@ -12,6 +12,7 @@
server.modules = ( server.modules = (
"mod_access", "mod_access",
"mod_accesslog", "mod_accesslog",
"mod_auth",
"mod_expire", "mod_expire",
"mod_compress", "mod_compress",
"mod_redirect", "mod_redirect",
@ -60,3 +61,6 @@ $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 = ( "X-Pi-hole" => "A black hole for Internet advertisements." ) setenv.add-response-header = ( "X-Pi-hole" => "A black hole for Internet advertisements." )
} }
# Add user chosen options held in external file
include_shell "cat external.conf 2>/dev/null"

View File

@ -11,6 +11,7 @@
server.modules = ( server.modules = (
"mod_access", "mod_access",
"mod_auth",
"mod_fastcgi", "mod_fastcgi",
"mod_accesslog", "mod_accesslog",
"mod_expire", "mod_expire",
@ -77,3 +78,6 @@ $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 = ( "X-Pi-hole" => "A black hole for Internet advertisements." ) setenv.add-response-header = ( "X-Pi-hole" => "A black hole for Internet advertisements." )
} }
# Add user chosen options held in external file
include_shell "cat external.conf 2>/dev/null"