Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2017-08-30 08:51:01 +0300
committernachoparker <nacho@ownyourbits.com>2017-08-30 08:51:01 +0300
commit9e212e69b94403a7614abd9e9d9d9fe6bbd912a4 (patch)
tree1a87987ddac2aa9b397aed512851b57c253473e1 /docker
parenta8cfd17984c0bed10bc0247baf4fe3eb0068bff3 (diff)
fix nextcloud-domain service with ipv6v0.24.7
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/run-nc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/run-nc.sh b/docker/run-nc.sh
index e697b64c..eed13840 100755
--- a/docker/run-nc.sh
+++ b/docker/run-nc.sh
@@ -54,7 +54,7 @@ cd /var/www/nextcloud/
# Trusted Domain ( as an argument )
[[ "$@" != "" ]] && {
- IP=$( grep -oP '\d{1,3}(.\d{1,3}){3}' <<< "$1" ) # validate that the first argument is a valid IP
+ IP=$( grep -oP '\d{1,3}(\.\d{1,3}){3}' <<< "$1" ) # validate that the first argument is a valid IP
if [[ "$IP" != "" ]]; then
sudo -u www-data php occ config:system:set trusted_domains 1 --value=$IP
else