Skip to content

Commit

Permalink
add trusted domains also when setting up no-ip
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed May 22, 2017
1 parent aae7663 commit 0f0c860
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions etc/nextcloudpi-config.d/no-ip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
ACTIVE_=no
[email protected]
PASS_=noip-pass
DOMAIN_=mycloud.ownyourbits.com
TIME_=30
DESCRIPTION="Free Dynamic DNS provider (need account)"

Expand Down Expand Up @@ -68,6 +69,8 @@ configure()
update-rc.d noip2 defaults
update-rc.d noip2 enable
service noip2 restart
cd /var/www/nextcloud
sudo -u www-data php occ config:system:set trusted_domains 3 --value=$DOMAIN_
}

cleanup()
Expand Down

0 comments on commit 0f0c860

Please sign in to comment.