π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Make use_path_style_urls and disable_ssl configurable per bucket
Florian Lippert0f8ea1e81453
diff --git a/server/pkg/utils/s3config/s3config.go b/server/pkg/utils/s3config/s3config.goindex 469d3fb632..d0858fc246 100644--- a/server/pkg/utils/s3config/s3config.go+++ b/server/pkg/utils/s3config/s3config.go@@ -136,12 +136,11 @@ func (config *S3Config) initialize() {Endpoint: aws.String(viper.GetString("s3." + dc + ".endpoint")),Region: aws.String(viper.GetString("s3." + dc + ".region")),}- if usePathStyleURLs {+ if usePathStyleURLs || viper.GetBool("s3." + dc + ".use_path_style_urls") || areLocalBuckets {s3Config.S3ForcePathStyle = aws.Bool(true)}- if areLocalBuckets {+ if areLocalBuckets || viper.GetBool("s3." + dc + ".disable_ssl") {s3Config.DisableSSL = aws.Bool(true)- s3Config.S3ForcePathStyle = aws.Bool(true)}s3Session, err := session.NewSession(&s3Config)if err != nil {