mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-22 23:46:53 +00:00
Merge pull request #6898 from nextcloud/enh/noid/postgres-rootcert
nextcloud: allow to define postgres root cert during install
This commit is contained in:
commit
cf4fb4d4a0
3 changed files with 21 additions and 1 deletions
9
Containers/nextcloud/config/postgres.config.php
Normal file
9
Containers/nextcloud/config/postgres.config.php
Normal 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',
|
||||
),
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue