Update and rename caddy_ingress.sh to caddy_ingress.add

This commit is contained in:
Alexandre
2024-05-22 10:17:08 +02:00
committed by GitHub
parent 9944047000
commit c36c6b0a70

View File

@@ -1,12 +1,5 @@
#!/bin/bash
# shellcheck shell=bash
# Get values
source /etc/birdnet/birdnet.conf
# Create ingress configuration for Caddyfile
cat << EOF >> /etc/caddy/Caddyfile
http://:8082 {
:8082 {
root * ${EXTRACTED}
file_server browse
handle /By_Date/* {
@@ -21,4 +14,3 @@ http://:8082 {
reverse_proxy /stats* localhost:8501
reverse_proxy /terminal* localhost:8888
}
EOF