nextcloud conf: log to syslog, trusted domain

This commit is contained in:
mwiegand 2022-06-16 01:29:40 +02:00
parent 31a4da75aa
commit f6baeb328b
2 changed files with 11 additions and 0 deletions

View file

@ -28,4 +28,14 @@ $CONFIG = array (
"redis" => [
"host" => "/var/run/redis/nextcloud.sock",
],
'trusted_domains' =>
array (
0 => 'localhost',
1 => '127.0.0.1',
2 => '${hostname}',
),
"log_type" => "syslog",
"syslog_tag" => "nextcloud",
"logfile" => "",
"loglevel" => 3,
);

View file

@ -75,6 +75,7 @@ files = {
'mode': '640',
'context': {
'db_password': node.metadata.get('postgresql/roles/nextcloud/password'),
'hostname': node.metadata.get('nextcloud/hostname'),
},
'needs': [
'directory:/etc/nextcloud',