-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
Host parameter for AWS S3 Storage Options is not being respected #284
Comments
Hello @voiddragon Isn't it ? |
@ZuluPro The documentation states that the host setting in the storage options can be used to change the default boto3 hostname, do I have to override the boto3 settings instead for this to work? |
@voiddragon The documentation primarly states that the storage is a third package and you should read its doc to understand it. |
@ZuluPro Yes I managed to get it to work by modifying the settings for storages, I think the documentation should be updated to reflect that the host setting does not actually work and that it should be updated on the storages settings level to avoid future confusion. |
I've had this very same issue and fixed it before finding what other people wrote about it on github. I give a +1 for having this issue fixed by the developers. |
I spent quite some time to figure out the solution. The only problem with the documentation, currently, is that the DBBACKUP_STORAGE_OPTIONS = {
'endpoint_url': 'https://s3-compatible-service.example.com',
'access_key': '*************',
'secret_key': '*************',
'bucket_name': 'my-backup',
'default_acl': 'private', # WARNING: this option will soon be removed
} You can look up the available options from NOTE: The |
I've set the host parameter here but the request URL is still being directed to https://bucket-name.s3.amazonaws.com
The text was updated successfully, but these errors were encountered: