Jump to content

External Image Storage + Cloudflare Polish: Fixing the URLs


Recommended Posts

Hi,

We are currently using Wasabi as our CDN (similar to Amazon S3). We want to also use Cloudflare Polish which from my understanding requires the images to be loaded from a domain alias. SME's (based on IPS forum  contributions seem to be @ASTRAPI who shared the setup instructions and @Joel R/ @All Astronauts who have created a plugin for improved integration with files. Any input will be greatly appreciated.

 

Current image link example:

https://s3.eu-west-1.wasabisys.com/cdn.OURDOMAIN.COM/monthly_2023_02/cOVR.jpg.3cc3fcaddbb584e8041f302d16d92bec.jpg

DESIRED image link example:

https://cdn.OURDOMAIN.COM/monthly_2023_02/cOVR.jpg.3cc3fcaddbb584e8041f302d16d92bec.jpg

 

The desired image link already works and is set up in our DNS settings. We just don't know how to make IPS use that URL instead.

Screenshot of storage config settings:

Could contain: Page, Text Note that "Custom URL" seems to only be applicable to uploads.

Edited by H5K
Link to comment
Share on other sites

35 minutes ago, H5K said:

Note that "Custom URL" seems to only be applicable to uploads

It is used not just for uploads, but anywhere that bucket is called.  For example, if that bucket is set to be used for your themes, the JS and would use that custom URL.  

Now...  remember when you change the bucket where your theme is served out of, you might need to rebuild your system cache from the ACP so that it starts using the new custom URL in any locally cached output.  

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...