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 S3_CUSTOM_DOMAIN settings, closes #1943 #1947

Merged
merged 2 commits into from
Aug 1, 2022

Conversation

dmaes
Copy link
Contributor

@dmaes dmaes commented Jul 20, 2022

Add a setting for https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html#cloudfront AWS_S3_CUSTOM_DOMAIN. This instructs django to use a different domain than the S3 endpoint in image url's.

This fixes #1943 in the sense that setups with a private S3 can setup a public proxy (with limited access rights) to this proxy.

@vabene1111
Copy link
Collaborator

awesome, i had hoped that there would be some easy fix like this. Thanks for implementing it.

@vabene1111 vabene1111 merged commit 1ab3e57 into TandoorRecipes:develop Aug 1, 2022
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.

Download and serve images from S3
2 participants