diff options
Diffstat (limited to 'docker/run-nc.sh')
-rwxr-xr-x | docker/run-nc.sh | 2 |
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" |