mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
also adjust use_path_style and legacy_auth
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
f3c666df9a
commit
dbcd5d8955
1 changed files with 2 additions and 3 deletions
|
|
@ -19,9 +19,9 @@ if (getenv('OBJECTSTORE_S3_BUCKET')) {
|
||||||
'autocreate' => strtolower($autocreate) !== 'false',
|
'autocreate' => strtolower($autocreate) !== 'false',
|
||||||
'use_ssl' => strtolower($use_ssl) !== 'false',
|
'use_ssl' => strtolower($use_ssl) !== 'false',
|
||||||
// required for some non Amazon S3 implementations
|
// 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
|
// 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;
|
$CONFIG['objectstore']['arguments']['sse_c_key'] = $sse_c_key;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue