Search code examples
ruby-on-railsamazon-s3carrierwavefog

Carrierwave public URL using amazon S3 gives "Access Denied"


I am trying to host an API using Carrierwave/Fog to host the image. I configured

config.fog_public = true

However whenever I access the URL of the image, AWS returns an "Access Denied" error. Is it currently possible to use Fog with AWS to serve public URLs?

Thanks!


Solution

  • Found out I had to recreate the versions with the new configuration settings.