-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
expiring_url does not use s3_host_alias #2196
Comments
I ran into the same issue. |
This config in the default or per-model options fixes it for me:
This is changed behavior from version 4, but not specified in docs or the upgrade guide. Old paperclip didn't use the
After reading some code, it seems that paperclip 5.x merges in |
Even with the still give the s3 url instead of using the alias url for me. |
Thank you for reporting this. Unfortunately, we will be deprecating Paperclip and therefore will not have the bandwidth to address this issue. |
When using paperclip with :url => ":s3_alias_url" and a s3_host_alias set the expiring_url does not use the s3_host_alias.
This really makes a difference when using cloudfront with paperclip. It would be great to be able to offer expiring url's that used the cloudfront endpoint instead of the direct s3 endpoint.
The text was updated successfully, but these errors were encountered: