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

feat: add path style URL support for S3 buckets #5362

Merged
merged 2 commits into from
Jul 14, 2021
Merged

feat: add path style URL support for S3 buckets #5362

merged 2 commits into from
Jul 14, 2021

Conversation

Xenthys
Copy link

@Xenthys Xenthys commented Jul 12, 2021

Hello,

I have added path style URL support to Monica by adding a single line relying on a new S3_PATH_STYLE environment variable, kept to false by default as to not have any impact whatsoever if left unconfigured of course. This was already supported by the underlying S3 library so the edit was quite trivial.

This is necessary for a lot of people depending on e.g. self-hosted MinIO setups, where virtual-hosted style URLs may not be enabled or supported. This was my case so after a bit of research, I found and added this option. I believe it can help others and won't impact anyone who doesn't explicitly set this to true so… may as well PR it!

Xenthys added 2 commits July 12, 2021 13:28
This is necessary for a lot of people depending on e.g. self-hosted MinIO setups, where virtual-hosted style URLs may not be enabled or supported.
@CLAassistant
Copy link

CLAassistant commented Jul 12, 2021

CLA assistant check
All committers have signed the CLA.

@Xenthys Xenthys marked this pull request as ready for review July 12, 2021 11:42
@asbiin asbiin merged commit ee6206a into monicahq:master Jul 14, 2021
@asbiin
Copy link
Member

asbiin commented Jul 14, 2021

Thank you @Xenthys !

@github-actions
Copy link

🎉 This PR is included in version 3.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

This pull request has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants