From 0a1fba8c3bd95092e4748ddc680a639c680714eb Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Tue, 28 Jan 2025 10:16:00 +0100 Subject: [PATCH] nextcloud: updates3.config.php Signed-off-by: Simon L. --- Containers/nextcloud/config/s3.config.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Containers/nextcloud/config/s3.config.php b/Containers/nextcloud/config/s3.config.php index f902bde8..b973fbc4 100644 --- a/Containers/nextcloud/config/s3.config.php +++ b/Containers/nextcloud/config/s3.config.php @@ -11,7 +11,6 @@ if (getenv('OBJECTSTORE_S3_BUCKET')) { 'bucket' => getenv('OBJECTSTORE_S3_BUCKET'), 'key' => getenv('OBJECTSTORE_S3_KEY') ?: '', 'secret' => getenv('OBJECTSTORE_S3_SECRET') ?: '', - 'sse_c_key' => getenv('OBJECTSTORE_S3_SSE_C_KEY') ?: '', 'region' => getenv('OBJECTSTORE_S3_REGION') ?: '', 'hostname' => getenv('OBJECTSTORE_S3_HOST') ?: '', 'port' => getenv('OBJECTSTORE_S3_PORT') ?: '', @@ -26,4 +25,9 @@ if (getenv('OBJECTSTORE_S3_BUCKET')) { ) ) ); + + $sse_c_key = getenv('OBJECTSTORE_S3_SSE_C_KEY'); + if ($sse_c_key) { + $CONFIG['objectstore']['arguments']['sse_c_key'] = $sse_c_key; + } }