This commit is contained in:
Alexandre
2023-07-24 17:12:27 +02:00
parent 38a62026df
commit 300340fd10
3 changed files with 5 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
# shellcheck disable=SC2046
#################
# NGINX SETTING #
@@ -10,4 +11,4 @@ sed -i "s/%%port%%/${ingress_port}/g" /etc/nginx/sites-available/ingress.conf
sed -i "s/%%interface%%/${ingress_interface}/g" /etc/nginx/sites-available/ingress.conf
# Implement SUBFOLDER value
sed -i "1a SUBFOLDER=$(bashio::addon.ingress_url)" $(find /etc/s6-overlay/s6-rc.d -name run -type f)
sed -i "1a SUBFOLDER=$(bashio::addon.ingress_url)" $(find /etc/s6-overlay/s6-rc.d -name "run" -type f)