I get the following error whenever a custom domain for the S3 endpoint is used.
# WORKS AWS_S3_CUSTOM_DOMAIN = \'example.fra1.digitaloceanspaces.com/{}\'.fo