Modify the `15-pihole-admin.conf` file in the correct path.

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner 2023-01-18 17:47:40 +00:00
parent 61bd3c756a
commit d588dba28e
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ setup_lighttpd_bind() {
setup_web_php_env() {
local config_file
config_file="/etc/lighttpd/conf-available/15-pihole-admin.conf"
config_file="/etc/lighttpd/conf-enabled/15-pihole-admin.conf"
# if the environment variable VIRTUAL_HOST is not set, or is empty, then set it to the IP address of the container
if [ -z "${VIRTUAL_HOST}" ] || [ "${VIRTUAL_HOST}" == "" ]; then
VIRTUAL_HOST="${FTLCONF_LOCAL_IPV4}"