diff --git a/pass-core-file-service/src/main/java/org/eclipse/pass/file/service/storage/StorageConfiguration.java b/pass-core-file-service/src/main/java/org/eclipse/pass/file/service/storage/StorageConfiguration.java index a3bbe05..a87b390 100644 --- a/pass-core-file-service/src/main/java/org/eclipse/pass/file/service/storage/StorageConfiguration.java +++ b/pass-core-file-service/src/main/java/org/eclipse/pass/file/service/storage/StorageConfiguration.java @@ -70,7 +70,7 @@ public S3Client s3Client(StorageProperties storageProperties) throws IOException String endpoint = storageProperties.getS3Endpoint().orElse(null); S3Client s3Client = StringUtils.isNotBlank(endpoint) - ? builder.endpointOverride(URI.create(endpoint)).build() + ? builder.endpointOverride(URI.create(endpoint)).forcePathStyle(true).build() : builder.build(); if (s3Client.listBuckets().buckets().stream().noneMatch(b -> b.name().equals(bucketName))) {