Azure WebApps with File Shares

I need static web site hositng.

But Azure storage static website hositng feaure is not appropriate.

Because it cannot use any autentication.


Therefore, I use WebApps.

However, I do not want to use SFTP. or git deploy.


I remembered Azure function use storage file shares.

It is enabled by webapps config.


I add following two configs and restart webapp and it is so good.


WEBSITE_CONTENTAZUREFILECONNECTIONSTRING <connection string>

WEBSITE_CONTENTSHARE <file share name>