mirror of
				https://github.com/bashclub/zamba-lxc-toolbox.git
				synced 2025-11-04 08:02:28 +01:00 
			
		
		
		
	Update install-service.sh
This commit is contained in:
		@@ -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',
 | 
			
		||||
  ),
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user