umbraco-community / UmbracoFileSystemProviders.Azure

:cloud: An Azure Blob Storage IFileSystem provider for Umbraco
96 stars 67 forks source link

[V7] Setting blob hostnames to use HTTPS by default #145

Closed callumbwhyte closed 5 years ago

callumbwhyte commented 5 years ago

Just a small niggle-y one...

Azure Blob Storage has a setting called "secure transfer required" which rejects requests that use HTTP when enabled. As documented here this is enabled by default when a storage account is configured via the Azure Portal (I assume this covers 95% of use cases).

The example configuration that this package adds on install includes sample blob hostnames with placeholders for account names / keys, etc. However the sample hostnames are HTTP URLs which when used with the "default" blob storage configuration causes an API error. If you replace the whole URL it's fine, but if you're not paying attention and just swap the placeholders in the samples the service doesn't work.

I've updated the default blob hostnames to be HTTPS.