adding localhost to Caddyfile
This commit is contained in:
@@ -198,7 +198,7 @@ install_Caddyfile() {
|
|||||||
fi
|
fi
|
||||||
HASHWORD=$(caddy hash-password -plaintext ${CADDY_PWD})
|
HASHWORD=$(caddy hash-password -plaintext ${CADDY_PWD})
|
||||||
cat << EOF > /etc/caddy/Caddyfile
|
cat << EOF > /etc/caddy/Caddyfile
|
||||||
http://birdnetpi.local ${BIRDNETPI_URL} {
|
http://localhost http://birdnetpi.local ${BIRDNETPI_URL} {
|
||||||
root * ${EXTRACTED}
|
root * ${EXTRACTED}
|
||||||
file_server browse
|
file_server browse
|
||||||
basicauth /Processed* {
|
basicauth /Processed* {
|
||||||
|
|||||||
@@ -200,7 +200,7 @@ install_Caddyfile() {
|
|||||||
fi
|
fi
|
||||||
HASHWORD=$(caddy hash-password -plaintext ${CADDY_PWD})
|
HASHWORD=$(caddy hash-password -plaintext ${CADDY_PWD})
|
||||||
cat << EOF > /etc/caddy/Caddyfile
|
cat << EOF > /etc/caddy/Caddyfile
|
||||||
http://birdnetpi.local ${BIRDNETPI_URL} {
|
http://localhost http://birdnetpi.local ${BIRDNETPI_URL} {
|
||||||
root * ${EXTRACTED}
|
root * ${EXTRACTED}
|
||||||
file_server browse
|
file_server browse
|
||||||
basicauth /Processed* {
|
basicauth /Processed* {
|
||||||
|
|||||||
Reference in New Issue
Block a user