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

Enable to pass s3_client_options for s3 compatible object storage #21

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

unasuke
Copy link
Contributor

@unasuke unasuke commented Jul 17, 2022

What

When using mini_paperclip with S3 compatible object storage like minio, digitalocean spaces, wasabi, and cloudflare r2, the user
should pass endpoint, force_path_style, and some options to Aws::S3::Client.new as its option.

This change makes enables to pass any options to Aws::S3::Client.new.

example

https://gist.github.com/unasuke/81c3a0e7f06809e77d3bd83e25a383a0

When using mini_paperclip with S3 compatible object storage like
minio, digitalocean spaces, wasabi, and cloudflare r2, the user
should pass endpoint, force_path_style, and some options to
`Aws::S3::Client.new` as its option.
This change makes enables to pass any options to
`Aws::S3::Client.new`.
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