Remove forcing old path-style URLs with s3. Closes #497
This commit is contained in:
parent
b70cee8afd
commit
b2953028cf
@ -173,10 +173,9 @@ func (s *S3Storage) connectAWS() *session.Session {
|
|||||||
|
|
||||||
sess, err := session.NewSession(
|
sess, err := session.NewSession(
|
||||||
&aws.Config{
|
&aws.Config{
|
||||||
Region: aws.String(s.s3Region),
|
Region: aws.String(s.s3Region),
|
||||||
Credentials: creds,
|
Credentials: creds,
|
||||||
Endpoint: aws.String(s.s3Endpoint),
|
Endpoint: aws.String(s.s3Endpoint),
|
||||||
S3ForcePathStyle: aws.Bool(true),
|
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user