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:
parent
61bd3c756a
commit
d588dba28e
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue