mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-22 07:26:55 +00:00
nextcloud: allow to define postgres root cert during install
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
1ce3b4ec06
commit
b692c1d049
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