Copied to clipboard

Flag this post as spam?

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


  • Rafael Gimeno 16 posts 99 karma points c-trib
    May 02, 2023 @ 07:34
    Rafael Gimeno
    1

    Use Azure Blob Storage with CDN url

    Hi!

    I'm trying to implement the Azure Blob Storage for Media in a Umbraco 11 application following the documentation https://docs.umbraco.com/umbraco-cms/extending/filesystemproviders/azure-blob-storage

    Everything works ok but I'm not able to add the CDN url in order to have all the media urls using this CDN url, and I don't see any more configurations in the documentation.

    Can anyone help me please?

    Thanks!

  • Bram Heijmink 6 posts 106 karma points
    Aug 04, 2024 @ 07:26
    Bram Heijmink
    0

    Hi Rafael,

    Did you ever figure out how to add the CDN url?

    Thanks :)

  • Marc Love (uSkinned.net) 447 posts 1789 karma points
    Aug 05, 2024 @ 12:43
    Marc Love (uSkinned.net)
    1

    Have you added the following to appsettings.json:

    {
      "Umbraco": {
        "Storage": {
          "Cdn": {
            "Url": "https://cdn.example.com/",
            "RemoveMediaFromPath": true
          }
        }
      }
    }
    
  • Bram Heijmink 6 posts 106 karma points
    Aug 05, 2024 @ 13:08
    Bram Heijmink
    0

    Hi Marc,

    Thanks for the response. I did but apparently, Azure CDN takes a few hours to start (https://stackoverflow.com/questions/24511070/unable-to-access-blob-using-cdn-in-azure). So after checking it after a few hours it magically worked.

  • Marc Love (uSkinned.net) 447 posts 1789 karma points
    Aug 06, 2024 @ 09:52
    Marc Love (uSkinned.net)
    0

    Good to know :)

  • jerin-ose 1 post 21 karma points
    Aug 16, 2024 @ 13:02
    jerin-ose
    0

    I'm using Umbraco 13.2.2 and have set up Azure Blob Storage with a CDN. I get 404 errors for all images when using Web App as the origin type. The images load fine when I switch to Storage.

    Umbraco version: 13.2.2 Umbraco.StorageProviders.AzureBlob version: 13.0.0 Umbraco.StorageProviders.AzureBlob.ImageSharp version: 13.0.0

    There are no errors in the logs. Any idea what might be causing this? I would appreciate any help.

Please Sign in or register to post replies

Write your reply to:

Draft