简体   繁体   English

Azure最佳实践-静态Web内容

[英]Azure best practice - static web content

Looking for advice on best practices with Azure and hosting static web content. 寻找有关Azure最佳实践的建议并托管静态Web内容。

In AWS world you might do this with S3 with CNAMEs and I see that Azure offers Blob storage which seems similar. 在AWS世界中,您可以使用带有CNAME的S3来执行此操作,并且我看到Azure提供了类似的Blob存储。 A few searches seem to say that it can't be done that way then a few 'newer' results seem to suggest it can. 一些搜索似乎表明无法做到这一点,然后一些“较新”的结果似乎表明可以做到。

Other people suggest that the Azure way is to use their web apps service rather storage services 其他人建议Azure的方式是使用Web应用程序服务而不是存储服务

So I guess I'm asking the community for their opinion and what is the 'best practice' (yeah yeah I know that doesn't exist...but indulge me) 因此,我想我是在向社区征求他们的意见,以及“最佳实践”是什么(是的,我知道那不存在...但是沉迷于我)

Many thanks all 非常感谢大家

Using Azure Storage seems to be your best best if you are looking for the cheapest alternative. 如果您正在寻找最便宜的替代方案,则最好使用Azure存储。 You can check out this blog post that demonstrates how this can be done. 您可以查看此博客文章 ,演示如何完成此工作。 Custom domains are also supported using this approach. 使用此方法还支持自定义域。

Of course, this is very limiting and if you need more control simply go for Azure Web app. 当然,这是非常有限的,如果您需要更多控制,只需使用Azure Web应用程序即可。

Hope this helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM