nextcloud conf: log to syslog, trusted domain
This commit is contained in:
parent
31a4da75aa
commit
f6baeb328b
2 changed files with 11 additions and 0 deletions
|
@ -28,4 +28,14 @@ $CONFIG = array (
|
||||||
"redis" => [
|
"redis" => [
|
||||||
"host" => "/var/run/redis/nextcloud.sock",
|
"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,
|
||||||
);
|
);
|
||||||
|
|
|
@ -75,6 +75,7 @@ files = {
|
||||||
'mode': '640',
|
'mode': '640',
|
||||||
'context': {
|
'context': {
|
||||||
'db_password': node.metadata.get('postgresql/roles/nextcloud/password'),
|
'db_password': node.metadata.get('postgresql/roles/nextcloud/password'),
|
||||||
|
'hostname': node.metadata.get('nextcloud/hostname'),
|
||||||
},
|
},
|
||||||
'needs': [
|
'needs': [
|
||||||
'directory:/etc/nextcloud',
|
'directory:/etc/nextcloud',
|
||||||
|
|
Loading…
Reference in a new issue