问题
I am currently trying to figure out ways to run Lua scripts using FastCGI with either lighttpd or Nginx. The only thing I was able to dig up yet was WSAPI of the Kepler project. But I wonder if there are other possibilities. Important for me is:
- should be as lightweight as possible
- should be stable enough to use in a production environment
Many thanks in advance.
回答1:
I would recommend taking a look at this project: http://github.com/STPeters/luafcgid
There are instructions on how to use it with nginx.
来源:https://stackoverflow.com/questions/4063745/running-lua-scripts-using-fastcgi