Nextcloud version 24
UBUNTU 22.04
APACHE NGINX / HESTIA PANEL
PHP 8,1
trying to set up multiple trusted domains, i’ve chosen to create a domains.config.php file with:
$CONFIG[‘trusted_domains’] = array (
0 => ‘cloud.domain1.com’,
1 => ‘cloud.domain2.com’,
as in [Howto] Individual themes per domain - #6 by HeisenbergDo
from there, what should be left in config.php about trusted domains?
this is where i’m at . .
trying theming for domains
CONFIG.PHP
<?php
$CONFIG = array (
'instanceid' => '---',
'passwordsalt' => '--',
'secret' => '---',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'domain0.net',
2 => '111.222.333.44',
4 => 'domain1.net',
),
. . .
DOMAINS.CONFIG.PHP
<?php
$CONFIG['trusted_domains'] = array (
0 => 'domain0.net',
1 => 'domain1.net'
);
if (isset($_SERVER['HTTP_HOST'])) {
switch ($_SERVER['HTTP_HOST']) {
case 'domain0.net':
$CONFIG['theme']='domain0.net';
$CONFIG['mail_from_address'] = 'address';
$CONFIG['mail_domain'] = 'domain0.net';
break;
case 'domain1.net':
$CONFIG['theme']='domain1.net';
$CONFIG['mail_from_address'] = 'address';
$CONFIG['mail_domain'] = 'domain1.net';
break;
}
}
somebody with experience in this matter?
ok it works
this Theming app off
i’ve disabled Accessibility
i’ve enabled DarkBreeze
but i can’t find how to change the background image of the login page …
any idea about this ?