with this address line, no need for the others

This commit is contained in:
mcguirepr89
2022-06-13 15:28:18 -04:00
parent db04d9bd15
commit d0d11f49b2
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ fi
if ! [ -z ${CADDY_PWD} ];then
HASHWORD=$(caddy hash-password -plaintext ${CADDY_PWD})
cat << EOF > /etc/caddy/Caddyfile
http:// http://localhost http://$(hostname).local ${BIRDNETPI_URL} {
http:// ${BIRDNETPI_URL} {
root * ${EXTRACTED}
file_server browse
handle /By_Date/* {
@@ -45,7 +45,7 @@ http:// http://localhost http://$(hostname).local ${BIRDNETPI_URL} {
EOF
else
cat << EOF > /etc/caddy/Caddyfile
http:// http://localhost http://$(hostname).local ${BIRDNETPI_URL} {
http:// ${BIRDNETPI_URL} {
root * ${EXTRACTED}
file_server browse
handle /By_Date/* {