nextcloud: allow to define postgres root cert during install

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2025-09-26 10:19:30 +02:00
parent 1ce3b4ec06
commit b692c1d049
3 changed files with 21 additions and 1 deletions

View file

@ -0,0 +1,9 @@
<?php
if (getenv('NEXTCLOUD_TRUSTED_CERTIFICATES_POSTGRES')) {
$CONFIG = array(
'pgsql_ssl' => array(
'mode' => 'verify-ca',
'rootcert' => '/var/www/html/data/certificates/POSTGRES',
),
);
}