diff --git a/plugin/storage/s3/s3.go b/plugin/storage/s3/s3.go index 6ecbab68..f6992172 100644 --- a/plugin/storage/s3/s3.go +++ b/plugin/storage/s3/s3.go @@ -33,6 +33,9 @@ func NewClient(ctx context.Context, config *Config) (*Client, error) { return aws.Endpoint{ URL: config.EndPoint, SigningRegion: config.Region, + // For some s3-compatible object stores, converting the hostname is not required, + // and not setting this option will result in not being able to access the corresponding object store address. + HostnameImmutable: true, }, nil })