move config to addons_config

This commit is contained in:
Alexandre
2021-12-29 12:57:15 +01:00
parent fc18cf345f
commit b1842412dd
38 changed files with 320 additions and 93 deletions

View File

@@ -16,7 +16,7 @@ if [ $port > 1 ]; then
sed -i "s|%%port%%|$port|g" /etc/nginx/servers/ingress.conf
sed -i "s|%%interface%%|$(bashio::addon.ip_address)|g" /etc/nginx/servers/ingress.conf
# Removebaseurl
jq '.reverseProxyPrefix = ""' /config/ubooquity/preferences.json | sponge /config/ubooquity/preferences.json
jq '.reverseProxyPrefix = ""' /config/addon_config/ubooquity/preferences.json | sponge /config/addon_config/ubooquity/preferences.json
# Log
bashio::log.info "Ingress enabled"
else