在Azure上部署Lua应用程序

问题描述:

我的系统上有this应用程序。我只是通过Azure CLI将其部署在Azure应用服务中。在Azure上部署Lua应用程序

在我的机器上,应用程序在localhost上运行(server.lua -gpu -1)作为api,但在部署的url上,出现HTTP 500错误。

This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying. 

For more information about HTTP errors, see Help. 

但资源希思说:

The Web app is running normally 

另外,我没有跟像here任何步骤,我不知道它会在我的LUA应用的哪些方面。除了将我的应用程序在git存储库中推向天蓝色之外,还需要什么吗?

什么是步骤来部署我的api 成功(我试图把所有信息上面。)?谢谢。

+0

你如何在本地运行?在Azure应用服务中没有Lua运行时,所以不确定我是否理解你的问题。也许你可以使用HTTP Platform Handler来实现它,但它是一个MAYBE - https://channel9.msdn.com/Shows/Azure-Friday/The-HTTP-Platform-Handler-with-Scott-Hanselman – evilSnobu

我不认为Azure App Service支持LUA。有一个项目Github here:https://github.com/shibayan/iislua

这是为了在IIS上设置LUA。我怀疑这是否可以在Azure App Service上完成,因为它不允许您安装MSI。