mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
allow to specify an apache ip-binding
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
005ad34741
commit
482b279f3c
4 changed files with 30 additions and 6 deletions
|
|
@ -114,6 +114,13 @@ It is set to '$APACHE_PORT'."
|
|||
exit 1
|
||||
fi
|
||||
fi
|
||||
if [ -n "$APACHE_IP_BINDING" ]; then
|
||||
if ! echo "$APACHE_IP_BINDING" | grep -q '^[0-9.]\+$'; then
|
||||
echo "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
|
||||
fi
|
||||
fi
|
||||
if [ -n "$TALK_PORT" ]; then
|
||||
if ! check_if_number "$TALK_PORT"; then
|
||||
echo "You provided an Talk port but did not only use numbers.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue