Merge pull request #6898 from nextcloud/enh/noid/postgres-rootcert

nextcloud: allow to define postgres root cert during install
This commit is contained in:
Simon L. 2025-09-29 10:51:10 +02:00 committed by GitHub
commit cf4fb4d4a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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',
),
);
}