2017-06-13 148 views

回答

1

要在Azure Web App中启用YAML文件,您可以创建web.config文件到您的webroot(D:\home\site\wwwroot)(如果不存在),然后向其添加以下内容。

<?xml version="1.0" encoding="UTF-8" ?> 
<configuration> 
    <system.webServer> 
     <staticContent> 
      <mimeMap fileExtension=".yaml" mimeType="text/x-yaml" /> 
     </staticContent> 
    </system.webServer> 
</configuration> 
相关问题