mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 19:22:24 +00:00
Nextcloud vars/explanation
This commit is contained in:
parent
cf7f776003
commit
a26bfd6988
6 changed files with 21 additions and 10 deletions
|
@ -19,11 +19,11 @@ The Nextcloud suite is divided into three main categories:
|
||||||
nextcloud_install: True
|
nextcloud_install: True
|
||||||
nextcloud_enabled: True
|
nextcloud_enabled: True
|
||||||
|
|
||||||
(2) If you want to access Nextcloud from IPv4 addresses across the public Internet, then also set:
|
<strike>(2) If you want to access Nextcloud from IPv4 addresses across the public Internet, then also set:
|
||||||
|
|
||||||
nextcloud_allow_public_ips: True
|
nextcloud_allow_public_ips: True
|
||||||
|
|
||||||
To further refine Nextcloud access controls based on IPv4 addresses, you can edit `/etc/apache2/sites-available/nextcloud.conf` _after_ it's created by this template: [/opt/iiab/iiab/roles/nextcloud/templates/nextcloud.conf.j2](https://github.com/iiab/iiab/blob/master/roles/nextcloud/templates/nextcloud.conf.j2)
|
To further refine Nextcloud access controls based on IPv4 addresses, you can edit `/etc/apache2/sites-available/nextcloud.conf` _after_ it's created by this template: [/opt/iiab/iiab/roles/nextcloud/templates/nextcloud.conf.j2](https://github.com/iiab/iiab/blob/master/roles/nextcloud/templates/nextcloud.conf.j2)</strike>
|
||||||
|
|
||||||
(3) Strongly consider also setting `nginx_high_php_limits: True` in the 3-BASE-SERVER section of /etc/iiab/local_vars.yml, to allocate important RAM/resources to PHP. Of course, enabling this might cause excess use of RAM/disk or other resources if not calibrated to your hardware and network! So _after_ install is complete, verify and evaluate these 5 settings in /etc/php/[ACTUAL PHP VERSION]/apache2/php.ini:
|
(3) Strongly consider also setting `nginx_high_php_limits: True` in the 3-BASE-SERVER section of /etc/iiab/local_vars.yml, to allocate important RAM/resources to PHP. Of course, enabling this might cause excess use of RAM/disk or other resources if not calibrated to your hardware and network! So _after_ install is complete, verify and evaluate these 5 settings in /etc/php/[ACTUAL PHP VERSION]/apache2/php.ini:
|
||||||
|
|
||||||
|
|
|
@ -4,16 +4,12 @@
|
||||||
# nextcloud_install: False
|
# nextcloud_install: False
|
||||||
# nextcloud_enabled: False
|
# nextcloud_enabled: False
|
||||||
|
|
||||||
# nextcloud_allow_public_ips: False
|
|
||||||
|
|
||||||
# Configuration tips for IPv4 access controls and tuning RAM/resources:
|
# Configuration tips for IPv4 access controls and tuning RAM/resources:
|
||||||
# https://github.com/iiab/iiab/blob/master/roles/nextcloud/README.md
|
# https://github.com/iiab/iiab/blob/master/roles/nextcloud/README.md
|
||||||
|
|
||||||
# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml
|
# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml
|
||||||
# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing!
|
# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing!
|
||||||
|
|
||||||
# REMOVE /opt/nextcloud/version.php TO FORCE AN INSTALL OR REINSTALL OR UPGRADE
|
|
||||||
|
|
||||||
nextcloud_url: /nextcloud
|
nextcloud_url: /nextcloud
|
||||||
nextcloud_prefix: "{{ doc_root }}" # /library/www/html (WAS /opt)
|
nextcloud_prefix: "{{ doc_root }}" # /library/www/html (WAS /opt)
|
||||||
nextcloud_data_dir: "{{ content_base }}/nextcloud/data" # /library/nextcloud/data BUT NOT USED BY NEXTCLOUD AS OF 2020-02-15, so it defaults to /opt/nextcloud/data ??
|
nextcloud_data_dir: "{{ content_base }}/nextcloud/data" # /library/nextcloud/data BUT NOT USED BY NEXTCLOUD AS OF 2020-02-15, so it defaults to /opt/nextcloud/data ??
|
||||||
|
@ -34,3 +30,6 @@ nextcloud_admin_password: 'changeme'
|
||||||
|
|
||||||
# 2019-09-04: UNUSED (due to changes in roles/nextcloud/templates/nextcloud.conf.j2)
|
# 2019-09-04: UNUSED (due to changes in roles/nextcloud/templates/nextcloud.conf.j2)
|
||||||
nextcloud_required_ip: 10.0.0.0/8 192.168.0.0/16
|
nextcloud_required_ip: 10.0.0.0/8 192.168.0.0/16
|
||||||
|
|
||||||
|
# 2020-02-15: UNUSED at the time. Legacy remains from Apache:
|
||||||
|
# nextcloud_allow_public_ips: True
|
||||||
|
|
|
@ -402,7 +402,10 @@ nodered_web_path: nodered
|
||||||
# If using WordPress intensively, set nginx_high_php_limits in 3-BASE-SERVER
|
# If using WordPress intensively, set nginx_high_php_limits in 3-BASE-SERVER
|
||||||
nextcloud_install: False
|
nextcloud_install: False
|
||||||
nextcloud_enabled: False
|
nextcloud_enabled: False
|
||||||
nextcloud_allow_public_ips: False
|
#
|
||||||
|
# 2020-02-15: UNUSED at the time. Legacy remains from Apache:
|
||||||
|
# nextcloud_allow_public_ips: True
|
||||||
|
#
|
||||||
# Configuration tips for IPv4 access controls and tuning RAM/resources:
|
# Configuration tips for IPv4 access controls and tuning RAM/resources:
|
||||||
# https://github.com/iiab/iiab/blob/master/roles/nextcloud/README.md
|
# https://github.com/iiab/iiab/blob/master/roles/nextcloud/README.md
|
||||||
#
|
#
|
||||||
|
|
|
@ -239,7 +239,10 @@ nodered_enabled: True
|
||||||
# If using WordPress intensively, set nginx_high_php_limits in 3-BASE-SERVER
|
# If using WordPress intensively, set nginx_high_php_limits in 3-BASE-SERVER
|
||||||
nextcloud_install: True
|
nextcloud_install: True
|
||||||
nextcloud_enabled: True
|
nextcloud_enabled: True
|
||||||
nextcloud_allow_public_ips: False
|
#
|
||||||
|
# 2020-02-15: UNUSED at the time. Legacy remains from Apache:
|
||||||
|
# nextcloud_allow_public_ips: True
|
||||||
|
#
|
||||||
# Configuration tips for IPv4 access controls and tuning RAM/resources:
|
# Configuration tips for IPv4 access controls and tuning RAM/resources:
|
||||||
# https://github.com/iiab/iiab/blob/master/roles/nextcloud/README.md
|
# https://github.com/iiab/iiab/blob/master/roles/nextcloud/README.md
|
||||||
#
|
#
|
||||||
|
|
|
@ -239,7 +239,10 @@ nodered_enabled: False
|
||||||
# If using WordPress intensively, set nginx_high_php_limits in 3-BASE-SERVER
|
# If using WordPress intensively, set nginx_high_php_limits in 3-BASE-SERVER
|
||||||
nextcloud_install: True
|
nextcloud_install: True
|
||||||
nextcloud_enabled: True
|
nextcloud_enabled: True
|
||||||
nextcloud_allow_public_ips: False
|
#
|
||||||
|
# 2020-02-15: UNUSED at the time. Legacy remains from Apache:
|
||||||
|
# nextcloud_allow_public_ips: True
|
||||||
|
#
|
||||||
# Configuration tips for IPv4 access controls and tuning RAM/resources:
|
# Configuration tips for IPv4 access controls and tuning RAM/resources:
|
||||||
# https://github.com/iiab/iiab/blob/master/roles/nextcloud/README.md
|
# https://github.com/iiab/iiab/blob/master/roles/nextcloud/README.md
|
||||||
#
|
#
|
||||||
|
|
|
@ -239,7 +239,10 @@ nodered_enabled: False
|
||||||
# If using WordPress intensively, set nginx_high_php_limits in 3-BASE-SERVER
|
# If using WordPress intensively, set nginx_high_php_limits in 3-BASE-SERVER
|
||||||
nextcloud_install: False
|
nextcloud_install: False
|
||||||
nextcloud_enabled: False
|
nextcloud_enabled: False
|
||||||
nextcloud_allow_public_ips: False
|
#
|
||||||
|
# 2020-02-15: UNUSED at the time. Legacy remains from Apache:
|
||||||
|
# nextcloud_allow_public_ips: True
|
||||||
|
#
|
||||||
# Configuration tips for IPv4 access controls and tuning RAM/resources:
|
# Configuration tips for IPv4 access controls and tuning RAM/resources:
|
||||||
# https://github.com/iiab/iiab/blob/master/roles/nextcloud/README.md
|
# https://github.com/iiab/iiab/blob/master/roles/nextcloud/README.md
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue