Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for using AzureCDN with Azure Blob Storage module #34

Open
badbod99 opened this issue May 18, 2020 · 2 comments
Open

Documentation for using AzureCDN with Azure Blob Storage module #34

badbod99 opened this issue May 18, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@badbod99
Copy link

I have several websites on Piranha CMS, all are using Azure Blob Storage. Piranha uses the container's public URL when showing images, e.g.

<img src="https://holtwebsiteslive.blob.core.windows.net/holtdoctors/307249f4-e376-48db-9043-23cc672a1276-wellbeing_2.jpg" alt="image">

I don't want this URL to be exposed in the HTML, or for file downloads. Azure Blob Storage only supports adding custom domains with HTTPS using Azure CDN. I noticed in the Piranha documentation for the Azure Blob Storage module this:

It's very easy to connect Azure CDN to Blob Storage.

I have successfully setup my Azure CDN, but how do I now use that with Piranha CMS?

Thanks.

@tidyui
Copy link
Member

tidyui commented May 18, 2020

We will move this into the docs from the blog!

https://piranhacms.org/blog/setting-up-piranha-for-azure-cdn

@tidyui
Copy link
Member

tidyui commented May 18, 2020

As a side note, images already referenced within an HTML-editor will need to be remapped, either manually or with a SQL-script as these references are just stored as text in the database. Image Blocks or Image Fields within regions will be updated automatically.

@tidyui tidyui transferred this issue from PiranhaCMS/piranha.core May 24, 2020
@tidyui tidyui added the enhancement New feature or request label Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants