Skip to content

Commit

Permalink
Merge pull request #3457 from nextcloud/apache-ipv6
Browse files Browse the repository at this point in the history
  • Loading branch information
szaimen authored Sep 29, 2023
2 parents 6ffa041 + 4705d94 commit 1d9da52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Containers/mastercontainer/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ It is set to '$APACHE_PORT'."
fi
fi
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.
It is set to '$APACHE_IP_BINDING'."
exit 1
Expand Down

0 comments on commit 1d9da52

Please sign in to comment.