From dbcd5d8955f7d375a5abbb0e410fbfb09cd52bec Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Mon, 29 Sep 2025 11:15:53 +0200 Subject: [PATCH] also adjust `use_path_style` and `legacy_auth` Signed-off-by: Simon L. --- Containers/nextcloud/config/s3.config.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Containers/nextcloud/config/s3.config.php b/Containers/nextcloud/config/s3.config.php index 79113e6d..a56ce04b 100644 --- a/Containers/nextcloud/config/s3.config.php +++ b/Containers/nextcloud/config/s3.config.php @@ -19,9 +19,9 @@ if (getenv('OBJECTSTORE_S3_BUCKET')) { 'autocreate' => strtolower($autocreate) !== 'false', 'use_ssl' => strtolower($use_ssl) !== 'false', // required for some non Amazon S3 implementations - 'use_path_style' => $use_path == true && strtolower($use_path) !== 'false', + 'use_path_style' => strtolower($use_path) === 'true', // required for older protocol versions - 'legacy_auth' => $use_legacyauth == true && strtolower($use_legacyauth) !== 'false' + 'legacy_auth' => strtolower($use_legacyauth) === 'true' ) ) ); @@ -31,4 +31,3 @@ if (getenv('OBJECTSTORE_S3_BUCKET')) { $CONFIG['objectstore']['arguments']['sse_c_key'] = $sse_c_key; } } -