mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-22 07:26:55 +00:00
nextcloud: update s3.config.php
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
c63adeaa22
commit
e9a31e1bc0
1 changed files with 2 additions and 0 deletions
|
|
@ -11,9 +11,11 @@ if (getenv('OBJECTSTORE_S3_BUCKET')) {
|
||||||
'bucket' => getenv('OBJECTSTORE_S3_BUCKET'),
|
'bucket' => getenv('OBJECTSTORE_S3_BUCKET'),
|
||||||
'key' => getenv('OBJECTSTORE_S3_KEY') ?: '',
|
'key' => getenv('OBJECTSTORE_S3_KEY') ?: '',
|
||||||
'secret' => getenv('OBJECTSTORE_S3_SECRET') ?: '',
|
'secret' => getenv('OBJECTSTORE_S3_SECRET') ?: '',
|
||||||
|
'sse_c_key' => getenv('OBJECTSTORE_S3_SSE_C_KEY') ?: '',
|
||||||
'region' => getenv('OBJECTSTORE_S3_REGION') ?: '',
|
'region' => getenv('OBJECTSTORE_S3_REGION') ?: '',
|
||||||
'hostname' => getenv('OBJECTSTORE_S3_HOST') ?: '',
|
'hostname' => getenv('OBJECTSTORE_S3_HOST') ?: '',
|
||||||
'port' => getenv('OBJECTSTORE_S3_PORT') ?: '',
|
'port' => getenv('OBJECTSTORE_S3_PORT') ?: '',
|
||||||
|
'storageClass' => getenv('OBJECTSTORE_S3_STORAGE_CLASS') ?: '',
|
||||||
'objectPrefix' => getenv("OBJECTSTORE_S3_OBJECT_PREFIX") ? getenv("OBJECTSTORE_S3_OBJECT_PREFIX") : "urn:oid:",
|
'objectPrefix' => getenv("OBJECTSTORE_S3_OBJECT_PREFIX") ? getenv("OBJECTSTORE_S3_OBJECT_PREFIX") : "urn:oid:",
|
||||||
'autocreate' => (strtolower($autocreate) === 'false' || $autocreate == false) ? false : true,
|
'autocreate' => (strtolower($autocreate) === 'false' || $autocreate == false) ? false : true,
|
||||||
'use_ssl' => (strtolower($use_ssl) === 'false' || $use_ssl == false) ? false : true,
|
'use_ssl' => (strtolower($use_ssl) === 'false' || $use_ssl == false) ? false : true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue