-
-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d680605
commit 55a9a22
Showing
99 changed files
with
104 additions
and
735 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 3 additions & 2 deletions
5
...rdnet-pi/rootfs/custom-services.d/00_dbus → zzz_draft_birdnet-pi/archive/99_pulseaudio
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
%%interface%%:%%port%% { | ||
reverse_proxy http://localhost:8080 { | ||
header_up Host {host} | ||
header_up X-Forwarded-For {remote} | ||
header_up Connection "upgrade" | ||
header_up Accept-Encoding "" | ||
@base_url { | ||
path / | ||
file { | ||
try_files {path} /%%ingress_entry%% | ||
} | ||
} | ||
handle @base_url { | ||
sub_filter_once off | ||
sub_filter_types * | ||
sub_filter href=\"/ href=\"%%ingress_entry%%/ | ||
sub_filter src=\"/ src=\"%%ingress_entry%%/ | ||
sub_filter hx-get=\"/ hx-get=\"%%ingress_entry%%/ | ||
sub_filter action=\"/ action=\"%%ingress_entry%%/ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/usr/bin/with-contenv bashio | ||
# shellcheck shell=bash | ||
set -e | ||
|
||
################# | ||
# NGINX SETTING # | ||
################# | ||
|
||
declare ingress_interface | ||
declare ingress_port | ||
|
||
bashio::log.info "Setting up ingress" | ||
|
||
echo "... adding new instructions" | ||
cat /Caddyfile >> /etc/caddy/Caddyfile | ||
rm /Caddyfile | ||
|
||
echo "... customizing" | ||
ingress_port=$(bashio::addon.ingress_port) | ||
ingress_interface=$(bashio::addon.ip_address) | ||
ingress_entry=$(bashio::addon.ingress_entry) | ||
sed -i "s/%%port%%/${ingress_port}/g" /etc/caddy/Caddyfile | ||
sed -i "s/%%interface%%/${ingress_interface}/g" /etc/caddy/Caddyfile | ||
sed -i "s|%%ingress_entry%%|${ingress_entry}|g" /etc/caddy/Caddyfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.