diff options
author | nachoparker <nacho@ownyourbits.com> | 2017-06-06 19:33:32 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2017-06-06 19:33:32 +0300 |
commit | 463eee94d3835bce71dab61c406b6a35ba577798 (patch) | |
tree | fe2536b7b21e651d93a0f7764612b97a65bfe50c /etc/nextcloudpi-config.d/letsencrypt.sh | |
parent | 8f8b4e42420f13d328ff466f7a6b24697765ea4b (diff) |
update trusted domains also from letsencrypt configv0.12.16
Diffstat (limited to 'etc/nextcloudpi-config.d/letsencrypt.sh')
-rw-r--r-- | etc/nextcloudpi-config.d/letsencrypt.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/nextcloudpi-config.d/letsencrypt.sh b/etc/nextcloudpi-config.d/letsencrypt.sh index 415288e7..f27fe8cf 100644 --- a/etc/nextcloudpi-config.d/letsencrypt.sh +++ b/etc/nextcloudpi-config.d/letsencrypt.sh @@ -44,6 +44,10 @@ configure() /etc/letsencrypt/letsencrypt-auto -n --no-self-upgrade --apache --hsts --agree-tos -m $EMAIL_ -d $DOMAIN_ echo "* 1 * * 1 root /etc/letsencrypt/certbot-auto renew --quiet" > /etc/cron.d/letsencrypt-ncp + + cd /var/www/nextcloud + sudo -u www-data php occ config:system:set trusted_domains 4 --value=$DOMAIN_ + service apache2 reload } |