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:
authornachoparker <nacho@ownyourbits.com>2021-12-13 23:00:56 +0300
committernachoparker <nacho@ownyourbits.com>2021-12-13 23:01:39 +0300
commitbcd850cc3fa704b4240750f41551408006d8f9cb (patch)
tree2d4fc830b222b0073e4993f1149a5be6e550f68c /bin/nextcloud-domain.sh
parent26a7778d068ccb1b3f83c5a276d4808877561621 (diff)
letsencrypt: fix invalid arithmetic operator errorv1.44.7
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'bin/nextcloud-domain.sh')
-rw-r--r--bin/nextcloud-domain.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/nextcloud-domain.sh b/bin/nextcloud-domain.sh
index ff50c1b5..95eb0963 100644
--- a/bin/nextcloud-domain.sh
+++ b/bin/nextcloud-domain.sh
@@ -13,14 +13,14 @@ while :; do
local_ip="$(get_ip)"
pub_ip="$(curl -m4 icanhazip.com 2>/dev/null)"
- [[ "$pub_ip" != "" ]] && ncc config:system:set trusted_domains "${TRUSTED_DOMAINS[public_ip]}" --value="$pub_ip"
+ [[ "$pub_ip" != "" ]] && ncc config:system:set trusted_domains 11 --value="$pub_ip"
[[ "$local_ip" != "" ]] && break
sleep 3
done
-ncc config:system:set trusted_domains "${TRUSTED_DOMAINS[ip]}" --value="${local_ip}"
-ncc config:system:set trusted_domains "${TRUSTED_DOMAINS[hostname]}" --value="$(hostname -f)"
+ncc config:system:set trusted_domains 1 --value="${local_ip}"
+ncc config:system:set trusted_domains 14 --value="$(hostname -f)"
# we might need to retry if redis is not ready
while :; do