also adjust use_path_style and legacy_auth

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2025-09-29 11:15:53 +02:00
parent f3c666df9a
commit dbcd5d8955

View file

@ -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;
}
}