我正在構建將在Ubuntu VM中運行nodejs應用程序的azure模板(https://github.com/kevinday/azure-quickstart-templates/blob/master/augur-on-ubuntu/azuredeploy.json)。在Azure中公開提供NodeJS應用程序
npm start
[email protected] start /root/augur
http-server ./build -c-1 -p $PORT
Starting up http-server, serving ./build
Available on:
http://127.0.0.1:true
http://10.0.0.4:true
Hit CTRL-C to stop the server
我想http流量暴露到我已配置,http://dnsname.eastus.cloudapp.azure.com DNS名稱。
我已經在門戶網站上看到過文檔建議配置和端點,但我不再看到這個選項。有人能指出我如何修改模板以正確配置此端點的方向嗎?