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
diff options
context:
space:
mode:
Diffstat (limited to 'docker/run-nc.sh')
-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 6f3dcd34..58017440 100755
--- a/docker/run-nc.sh
+++ b/docker/run-nc.sh
@@ -64,7 +64,7 @@ test -e /data/config && {
# Trusted Domain ( local IP )
IFACE=$( ip r | grep "default via" | awk '{ print $5 }' )
-IP=$( ip a | grep "global $IFACE" | grep -oP '\d{1,3}(.\d{1,3}){3}' | head -1 )
+IP=$( ip a | grep "global $IFACE" | grep -oP '\d{1,3}(\.\d{1,3}){3}' | head -1 )
sudo -u www-data php $OCC config:system:set trusted_domains 2 --value="$IP"
echo "Starting Apache"