Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add IIO_S3_AWS_FORCE_PATH_STYLE environment variable to support minio s3 server #309

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

jonasGuest
Copy link
Contributor

Add environment variable to set the forcePathStyle s3 client property.

We use a minio s3 server as a storage backend for geotiffs in geoserver. It does not allow virtual hosts for bucket addressing in our configuration. Previously the aws s3 sdk did only default to virtual host style addressing when the hostname started with "s3.". This was recently changed I think, so now it always uses virtual host style bucket addressing. This MR would add an environment variable to force the underlying amazon aws s3 sdk to use path based addressing. A similar problem was mentioned in issue #223.
I would welcome any kind of feedback.

@aaime
Copy link
Member

aaime commented Sep 16, 2024

Looks good to me, merging.

@aaime aaime merged commit 2d3f75c into geosolutions-it:master Sep 16, 2024
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.

2 participants