Creating a http link to an Azure File Share in a Web App hosted in a Docker Linux Container

Stuart Daly 1 Reputation point

I have a Core 5 app hosted in a Linux Container, azure file storage mounted and I want to present the files as links that can be opened (

Is there the concept of virtual directories that I can add over where the mount is so that I can can just use a http link or mount this folder within the sites structure so that the files are accessible?

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
672 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,923 questions
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,633 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sumarigo-MSFT 45,406 Reputation points Microsoft Employee

    @Stuart Daly Welcome to Microsoft Q&A, Thank you for posting your query!

    Firstly, apologies for the delay in responding here and any inconvenience this issue may have caused.

    Yes, you can configure Azure Files to allow access to files via REST (HTTP/HTTPS) using SAS keys. Get File (REST API) - Azure Storage | Microsoft Learn

    For web browsers they may run into a conditional headers issue and the workaround is here:

    Hope this helps!

    Kindly let us know if the above helps or you need further assistance on this issue.


    Please don’t forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments