A live bird collage card for your Home Assistant dashboard.
adding two variables for testing public installation access
Patrick McGuire58000a049fcd
diff --git a/scripts/install_services.sh b/scripts/install_services.shindex 7be6d4ad..b087af3c 100755--- a/scripts/install_services.sh+++ b/scripts/install_services.sh@@ -199,6 +199,24 @@ ${EXTRACTIONS_URL} {php_fastcgi unix//run/php/php7.3-fpm.sock}EOF+ if [ ! -z ${EXTRACTIONLOG_URL} ];then+ cat << EOF >> /etc/caddy/Caddyfile++${EXTRACTIONLOG_URL} {+ reverse_proxy localhost:8888+}+ systemctl reload caddy+}+EOF+ fi+ if [ ! -z ${BIRDNETLOG_URL} ];then+ cat << EOF >> /etc/caddy/Caddyfile++${BIRDNETLOG_URL} {+ reverse_proxy localhost:8080+}+EOF+ fisystemctl reload caddy}diff --git a/scripts/update_services.sh b/scripts/update_services.shindex 1cdd1ce0..ab35fb00 100755--- a/scripts/update_services.sh+++ b/scripts/update_services.sh@@ -198,6 +198,24 @@ ${EXTRACTIONS_URL} {php_fastcgi unix//run/php/php7.3-fpm.sock}EOF+ if [ ! -z ${EXTRACTIONLOG_URL} ];then+ cat << EOF >> /etc/caddy/Caddyfile++${EXTRACTIONLOG_URL} {+ reverse_proxy localhost:8888+}+ systemctl reload caddy+}+EOF+ fi+ if [ ! -z ${BIRDNETLOG_URL} ];then+ cat << EOF >> /etc/caddy/Caddyfile++${BIRDNETLOG_URL} {+ reverse_proxy localhost:8080+}+EOF+ fisystemctl reload caddy}