From 9579dd86d87ffd05897f572c420a037fc2785fef Mon Sep 17 00:00:00 2001 From: Patrick McGuire Date: Sun, 24 Oct 2021 12:02:46 -0400 Subject: [PATCH] adding localhost to Caddyfile --- scripts/install_services.sh | 2 +- scripts/update_services.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install_services.sh b/scripts/install_services.sh index 845e16c..b73ffed 100755 --- a/scripts/install_services.sh +++ b/scripts/install_services.sh @@ -198,7 +198,7 @@ install_Caddyfile() { fi HASHWORD=$(caddy hash-password -plaintext ${CADDY_PWD}) cat << EOF > /etc/caddy/Caddyfile -http://birdnetpi.local ${BIRDNETPI_URL} { +http://localhost http://birdnetpi.local ${BIRDNETPI_URL} { root * ${EXTRACTED} file_server browse basicauth /Processed* { diff --git a/scripts/update_services.sh b/scripts/update_services.sh index 7d4b7b0..e05c1f8 100755 --- a/scripts/update_services.sh +++ b/scripts/update_services.sh @@ -200,7 +200,7 @@ install_Caddyfile() { fi HASHWORD=$(caddy hash-password -plaintext ${CADDY_PWD}) cat << EOF > /etc/caddy/Caddyfile -http://birdnetpi.local ${BIRDNETPI_URL} { +http://localhost http://birdnetpi.local ${BIRDNETPI_URL} { root * ${EXTRACTED} file_server browse basicauth /Processed* {