diff --git a/webtrees/rootfs/etc/cont-init.d/99-run.sh b/webtrees/rootfs/etc/cont-init.d/99-run.sh index 069c20612..8fea753f3 100755 --- a/webtrees/rootfs/etc/cont-init.d/99-run.sh +++ b/webtrees/rootfs/etc/cont-init.d/99-run.sh @@ -77,6 +77,7 @@ if bashio::config.true 'ssl'; then #Send env variables export HTTPS=true export SSL=true + export HTTPS_REDIRECT=true BASE_URL="$BASE_URL":$(bashio::addon.port 443) export BASE_URL="${BASE_URL/http:/https:}"