mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-08 16:45:56 +02:00
Update and rename caddy_ingress.sh to caddy_ingress.add
This commit is contained in:
@@ -1,12 +1,5 @@
|
|||||||
#!/bin/bash
|
|
||||||
# shellcheck shell=bash
|
|
||||||
|
|
||||||
# Get values
|
:8082 {
|
||||||
source /etc/birdnet/birdnet.conf
|
|
||||||
|
|
||||||
# Create ingress configuration for Caddyfile
|
|
||||||
cat << EOF >> /etc/caddy/Caddyfile
|
|
||||||
http://:8082 {
|
|
||||||
root * ${EXTRACTED}
|
root * ${EXTRACTED}
|
||||||
file_server browse
|
file_server browse
|
||||||
handle /By_Date/* {
|
handle /By_Date/* {
|
||||||
@@ -21,4 +14,3 @@ http://:8082 {
|
|||||||
reverse_proxy /stats* localhost:8501
|
reverse_proxy /stats* localhost:8501
|
||||||
reverse_proxy /terminal* localhost:8888
|
reverse_proxy /terminal* localhost:8888
|
||||||
}
|
}
|
||||||
EOF
|
|
||||||
Reference in New Issue
Block a user