【发布时间】:2013-07-30 21:46:24
【问题描述】:
我正在尝试将 uWSGI 设置为作为运行简单 LUA 脚本的独立服务器运行(现在,作为 POC,使用来自 http://uwsgi-docs.readthedocs.org/en/latest/Lua.html 的 hello world)。
这是我的 uwsgi.ini 文件:
[uwsgi]
master = true
workers = 1
threads = 8
listen = 4096
max-request = 512
pidfile = /uwsgi/logs/uwsgi.pid
procname-master = uWSGI master
auto-procname = true
lua = /uwsgi/hello.lua
socket-timeout = 30
socket = /uwsgi/uwsgi_1.sock
http = 127.0.0.1:80
http-to = /uwsgi/uwsgi_1.sock
发送web请求时,收到一个空响应,uWSGI进程输出:
-- unavailable modifier requested: 0 --
我读过这通常意味着缺少插件,但是,安装了 LUA 插件,并且通过 NGINX 执行相同操作时一切正常,这意味着加载 LUA 没有问题。
有什么帮助吗? 谢谢。
【问题讨论】: