Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Steve Ayres 3 posts 74 karma points
    Aug 14, 2018 @ 13:01
    Steve Ayres
    1

    Azure Blob Storage, Media & CDN - UmbracoFileSystemProviders.Azure

    Hi,

    Apologies, unsure if I should be posting regarding a package, but....

    We have installed UmbracoFileSystemProviders.Azure (https://github.com/JimBobSquarePants/UmbracoFileSystemProviders.Azure/blob/develop/README.md) in order to redirect media through to Azure Blob. It works an absolute charm!

    However, we have hooked up a CDN to the blob storage and am unsure on how to go about ensuring the CDN is utilised within Umbraco. We have gone the route of adding the package setup into the web.config file as per the attached screenshot. There is a "AzureBlobFileSystem.cdnUrl:media" setting but it doesn't seem to be having any affect.

    There is also the option as per the package documentation of using the ~/Config/FileSystemProviders.config file, but adding the CDN key in their causes an error.

    Anyone got any experience of this? What we really want if for the package to redirect media requests to the CDN endpoint and not the blob storage endpoint. I'm aware that we could do that with rewrite rules, but this way keeps all paths relative in the Umbraco back-end and also ensures no issues with any other backend processes.

    Thanks, Steveenter image description here

Please Sign in or register to post replies

Write your reply to:

Draft