Update install-service.sh

This commit is contained in:
DerFossiBaer 2025-01-30 12:57:51 +01:00 committed by GitHub
parent f481a7a7f4
commit 26cef69e6b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,6 +14,7 @@ source /root/constants-service.conf
NEXTCLOUD_ADMIN_PWD=$(random_password)
NEXTCLOUD_REDIS_PWD=$(random_password)
HOSTNAME=$(hostname -f)
HOST_IP=$(hostname -i)
#### Modify Nginx for Nextcloud ####
mod_nginx() {
@ -480,7 +481,7 @@ cat >> /var/www/nextcloud/config/config.php << EOF
'overwritehost' => '$NEXTCLOUD_FQDN',
'trusted_domains' =>
array (
0 => '$LXC_IP',
0 => '$HOST_IP',
1 => '$NEXTCLOUD_FQDN',
),