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>2017-09-15 10:26:41 +0300
committernachoparker <nacho@ownyourbits.com>2017-09-16 21:38:58 +0300
commit019c2f0da88392fa0cde00ca2fdc49d3e2a3963c (patch)
treee5791883b27953be76fa29a1aa18ce804822b529
parent4c79bcc9ca770017c6aeebcffd1f01be866c7ff9 (diff)
nc-static-IP: add new IP to trusted domainv0.28.1
-rw-r--r--changelog.md12
-rw-r--r--etc/nextcloudpi-config.d/nc-static-IP.sh2
2 files changed, 13 insertions, 1 deletions
diff --git a/changelog.md b/changelog.md
index 424082b3..71baab64 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,15 @@
-[v0.26.30](https://github.com/nextcloud/nextcloudpi/commit/49705ee) (2017-09-11) ncp-web: fix php exec with background restarting of processes
+[v0.28.1](https://github.com/nextcloud/nextcloudpi/commit/164b656) (2017-09-15) nc-static-IP: add new IP to trusted domain
+
+[v0.28.0 ](https://github.com/nextcloud/nextcloudpi/commit/6cf07b2) (2017-09-14) added nc-static-IP
+
+[v0.27.0 ](https://github.com/nextcloud/nextcloudpi/commit/bef45aa) (2017-09-14) added nc-fix-permissions
+
+[v0.26.32](https://github.com/nextcloud/nextcloudpi/commit/2a6a021) (2017-09-12) split library.sh
+
+[v0.26.31](https://github.com/nextcloud/nextcloudpi/commit/b390652) (2017-09-12) fail2ban: autodetect log path
+
+[v0.26.30](https://github.com/nextcloud/nextcloudpi/commit/05a3895) (2017-09-11) ncp-web: fix php exec with background restarting of processes
[v0.26.29](https://github.com/nextcloud/nextcloudpi/commit/14167d4) (2017-09-11) remove config txt output
diff --git a/etc/nextcloudpi-config.d/nc-static-IP.sh b/etc/nextcloudpi-config.d/nc-static-IP.sh
index 0177f855..9babd878 100644
--- a/etc/nextcloudpi-config.d/nc-static-IP.sh
+++ b/etc/nextcloudpi-config.d/nc-static-IP.sh
@@ -45,6 +45,8 @@ static domain_name_servers=$DNS
EOF
systemctl restart dhcpcd
+ sudo -u www-data php occ config:system:set trusted_domains 1 --value="$IP_"
+ sudo -u www-data php occ config:system:set overwrite.cli.url --value=https://"$IP_"
echo "Static IP set to $IP_"
}