Hi all,
这是第一次用这种方式来请教问题,刚看nginx和ngx_lua不久 自己写了连接memcached lua文件 如示例:
server {
listen 8080;
server_name localhost;
lua_code_cache on;
location = /lua {
content_by_lua_file conf/mc.lua;
}
}
用curl 'localhost:8080/lua' 测试总是提示:
<html>
<head><title>500
Internal Server Error</title></head>
<body
bgcolor="white">
<center><h1>500
Internal Server Error</h1></center>
<hr><center>nginx/1.4.6</center>
</body>
</html> 内部错误,怎么能看到具体的错误提示啊,方便调试mc.lua文件