Jump to content

How to configure DigitalOcean Spaces? A bug perhaps?


Kurtis Houser

Recommended Posts

First, I don't think JReviews is generating the correct path to the media files. Or I've setup my Spaces differently than expected.

The values entered into the bucket fields are prepended to the Endpoint. So, for example, if I add just 'photos' to the the Photos bucket field JReviews is looking for the files in:

https://photos.sfo2.digitaloceanspaces.com/thumbnail/200x200c/9a/c9/e1/br-cohn-winery-24-1469739037.jpg

For my Spaces I created one with the name itasteit. At the root level is a folder named test (for the test site) that will contain the folders (attachments, photos, etc.) for the JReviews media files.

I have Cyberduck configured to access my DigitalOcean Spaces and that application provides several URLs that can be used to access the files are. Two of them are:

https://sfo2.digitaloceanspaces.com/itasteit/test/photos/thumbnail/200x200c/9a/c9/e1/br-cohn-winery-24-1469739037.jpg

https://itasteit.sfo2.digitaloceanspaces.com/test/photos/thumbnail/200x200c/9a/c9/e1/br-cohn-winery-24-1469739037.jpg

Because JReviews is prepending rather than appending to the endpoint I don't see anyway to get JR to generate the correct URL (unless I create a completely separate Space for each media type). Perhaps this is a bug? Or I'm missing something...

Also, the JR admin panel mentions that DigitalOcean recommends using a 3rd party CDN service. DO Spaces now has its own CDN.

Thanks,

Kurtis

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...