Skip to content

Conversation

@chunghoduc
Copy link

Summary:
Add a force_path_style option to the S3 provider and use it to switch the AWS SDK to path-style bucket addressing. This enables compatibility with MinIO and other S3-compatible endpoints that don’t support virtual-hosted-style URLs.

Changes:

Proto: add BucketCluster.S3.force_path_style.
Infra mapping: accept force_path_style in JSON and pass it to runtime.
S3 client: enable AWS SDK path-style when force_path_style is true.
Why:

MinIO and some custom/local endpoints require path-style (https://endpoint/bucket/key) instead of virtual-hosted-style.
Usage:

Set force_path_style: true in your S3 provider config.
Example:
"force_path_style": true
Backwards compatibility:

Default is false; behavior unchanged unless enabled.

@encore-cla
Copy link

encore-cla bot commented Oct 17, 2025

All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant