This commit is contained in:
Daniel 2024-10-26 22:41:58 +08:00
parent e25e8042ba
commit b32257cf1c
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
16 changed files with 648 additions and 622 deletions

View file

@ -339,7 +339,7 @@ func InitConf() {
Conf.Sync.Mode = 1
}
if nil == Conf.Sync.S3 {
Conf.Sync.S3 = &conf.S3{SkipTlsVerify: true}
Conf.Sync.S3 = &conf.S3{PathStyle: true, SkipTlsVerify: true}
}
Conf.Sync.S3.Endpoint = util.NormalizeEndpoint(Conf.Sync.S3.Endpoint)
Conf.Sync.S3.Timeout = util.NormalizeTimeout(Conf.Sync.S3.Timeout)