nextcloud: fix configuration of default_certificates_bundle_path and allow to use bundle for mailer

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2025-12-12 13:06:50 +01:00
parent 427f7ec858
commit 17bf4f91d7
3 changed files with 16 additions and 13 deletions

View file

@ -0,0 +1,5 @@
<?php
// Check if NEXTCLOUD_TRUSTED_CERTIFICATES_ are configured
if (str_contains(implode(' ', array_keys(getenv())), 'NEXTCLOUD_TRUSTED_CERTIFICATES_')) {
$CONFIG['default_certificates_bundle_path'] = '/var/www/html/data/certificates/ca-bundle.crt';
}