mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 09:04:12 +02:00
add s3 TLS option
This commit is contained in:
parent
b3a1e80f6f
commit
7e54fbd89f
8 changed files with 203 additions and 16 deletions
15
nix/image/configs/nc/s3s.php
Normal file
15
nix/image/configs/nc/s3s.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
'objectstore' => [
|
||||
'class' => 'OC\Files\ObjectStore\S3',
|
||||
'arguments' => [
|
||||
'bucket' => 'nextcloud',
|
||||
'autocreate' => true,
|
||||
'key' => 'minio',
|
||||
'secret' => 'minio123',
|
||||
'hostname' => 's3',
|
||||
'port' => 9000,
|
||||
'use_ssl' => true,
|
||||
'use_path_style' => true,
|
||||
'uploadPartSize' => 52428800,
|
||||
'use_nextcloud_bundle' => true,
|
||||
],
|
||||
],
|
||||
|
|
@ -32,6 +32,11 @@ then
|
|||
sed -i '/\/\/PLACEHOLDER/ r /etc/nc/s3.php' /var/www/html/config/config.php
|
||||
fi
|
||||
|
||||
if [ -n "${S3S:-}" ]
|
||||
then
|
||||
sed -i '/\/\/PLACEHOLDER/ r /etc/nc/s3s.php' /var/www/html/config/config.php
|
||||
fi
|
||||
|
||||
if [ -n "${S3MB:-}" ]
|
||||
then
|
||||
sed -i '/\/\/PLACEHOLDER/ r /etc/nc/s3mb.php' /var/www/html/config/config.php
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue