diff --git a/Containers/apache/start.sh b/Containers/apache/start.sh index 040851bc..6095ea09 100644 --- a/Containers/apache/start.sh +++ b/Containers/apache/start.sh @@ -20,6 +20,7 @@ done # Get ipv4-address of Apache IPv4_ADDRESS="$(dig nextcloud-aio-apache A +short | head -1)" # Bring it in CIDR notation +# shellcheck disable=SC2001 IPv4_ADDRESS="$(echo "$IPv4_ADDRESS" | sed 's|[0-9]\+$|1/32|')" if [ -z "$APACHE_PORT" ]; then