mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-30 01:31:43 +00:00
Update Caddyfile
This commit is contained in:
1 parent
255ab320dc
commit
5182ba3a2b
1 file changed
+1
@@ -52,6 +52,7 @@ sed -i "s|http://|http://:8081|g" /etc/caddy/Caddyfile
|
|||||||
sed -i "s|http://|http://:8081|g" "$HOME"/BirdNET-Pi/update_caddyfile.sh
|
sed -i "s|http://|http://:8081|g" "$HOME"/BirdNET-Pi/update_caddyfile.sh
|
||||||
#Remove default file that blocks 80
|
#Remove default file that blocks 80
|
||||||
if [ -f /etc/caddy/Caddyfile.original ]; then rm /etc/caddy/Caddyfile.original; fi
|
if [ -f /etc/caddy/Caddyfile.original ]; then rm /etc/caddy/Caddyfile.original; fi
|
||||||
|
/."$HOME"/BirdNET-Pi/scripts/update_caddyfile.sh &>/dev/null
|
||||||
|
|
||||||
# Improve webui paths to facilitate ingress
|
# Improve webui paths to facilitate ingress
|
||||||
echo "... correcting webui paths"
|
echo "... correcting webui paths"
|
||||||
|
|||||||
Reference in new issue
Block a user