From ec75ed50cd37a38ab06b8ed03bac24da13d1a169 Mon Sep 17 00:00:00 2001 From: Univero <140871040+universero@users.noreply.github.com> Date: Mon, 6 Oct 2025 17:04:41 +0800 Subject: [PATCH] fix: enable virtual hosted style for S3 client (#2308) --- backend/infra/storage/impl/s3/s3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/infra/storage/impl/s3/s3.go b/backend/infra/storage/impl/s3/s3.go index d4109d887..9b4611391 100644 --- a/backend/infra/storage/impl/s3/s3.go +++ b/backend/infra/storage/impl/s3/s3.go @@ -57,7 +57,7 @@ func getS3Client(ctx context.Context, ak, sk, bucketName, endpoint, region strin PartitionID: "aws", URL: endpoint, SigningRegion: region, - HostnameImmutable: true, + HostnameImmutable: false, Source: aws.EndpointSourceCustom, }, nil })