mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-02-27 23:34:25 +08:00
Merge pull request #3457 from nextcloud/apache-ipv6
This commit is contained in:
commit
1d9da52442
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ It is set to '$APACHE_PORT'."
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ -n "$APACHE_IP_BINDING" ]; then
|
if [ -n "$APACHE_IP_BINDING" ]; then
|
||||||
if ! echo "$APACHE_IP_BINDING" | grep -q '^[0-9.]\+$'; then
|
if ! echo "$APACHE_IP_BINDING" | grep -q '^[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+$\|^[0-9a-f:]\+$'; then
|
||||||
print_red "You provided an ip-address for the apache container's ip-binding but it was not a valid ip-address.
|
print_red "You provided an ip-address for the apache container's ip-binding but it was not a valid ip-address.
|
||||||
It is set to '$APACHE_IP_BINDING'."
|
It is set to '$APACHE_IP_BINDING'."
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue