v0.1 test

This commit is contained in:
2025-11-14 13:21:18 +01:00
parent 7879445747
commit b7ec4fdc20
24 changed files with 379 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#!/command/with-contenv bashio
# shellcheck shell=bash
# ==============================================================================
# Configures NGINX for use with this add-on.
# ==============================================================================
# Note the ^ at the beginning of the proxy_pass_host value
# This stops bashio:var.json from passing the value as a string
bashio::var.json \
entry "$(bashio::addon.ingress_entry)" \
server "$(bashio::config 'server')" \
proxy_pass_host "^$(bashio::config 'proxy_pass_host')" \
| tempio \
-template /etc/nginx/templates/ingress.gtpl \
-out /etc/nginx/servers/ingress.conf