Skip to content

Commit

Permalink
nc-static-IP: add new IP to trusted domain
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Sep 16, 2017
1 parent 4c79bcc commit 019c2f0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 11 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 2 additions & 0 deletions etc/nextcloudpi-config.d/nc-static-IP.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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_"
}

Expand Down

0 comments on commit 019c2f0

Please sign in to comment.