2017-06-13 81 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> 
相關問題