From f12b47b3013cef16a3cd469d2c58246e5e014a4e Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Tue, 24 Feb 2026 14:17:07 +0100 Subject: [PATCH] s3.config.php: allow to configure `request_checksum_calculation` and `response_checksum_validation` Signed-off-by: Simon L. --- Containers/nextcloud/config/s3.config.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Containers/nextcloud/config/s3.config.php b/Containers/nextcloud/config/s3.config.php index 6ea06697..a6472ae1 100644 --- a/Containers/nextcloud/config/s3.config.php +++ b/Containers/nextcloud/config/s3.config.php @@ -34,4 +34,14 @@ if (getenv('OBJECTSTORE_S3_BUCKET')) { if ($sse_c_key) { $CONFIG['objectstore']['arguments']['sse_c_key'] = $sse_c_key; } + + $requestChecksumValidation = getenv('OBJECTSTORE_S3_REQUEST_CHECKSUM_VALIDATION'); + if ($requestChecksumValidation) { + $CONFIG['objectstore']['arguments']['request_checksum_calculation'] = $requestChecksumValidation; + } + + $responseChecksumValidation = getenv('OBJECTSTORE_S3_RESPONSE_CHECKSUM_VALIDATION'); + if ($responseChecksumValidation) { + $CONFIG['objectstore']['arguments']['response_checksum_validation'] = $responseChecksumValidation; + } }