应该是代码问题
在 2018年1月24日星期三 UTC+8下午6:45:31,yangxingwu写道:
我手动编译openresty,并使用
--add-module=/path/to/lua-ssl-nginx-module选项,按照文档配置后,启动openresty,报错
nginx: [error] init_by_lua error: ...esty/lua-resty-shdict-simple/lib/resty/shdict/simple.lua:66: attempt to index upvalue 'shdict' (a nil value)
stack traceback:
...esty/lua-resty-shdict-simple/lib/resty/shdict/simple.lua:66: in function 'meta_shdict_get'
...nx-module/lualib/ngx/ssl/session/ticket/key_rotation.lua:83: in function 'shdict_get_and_decrypt'
...nx-module/lualib/ngx/ssl/session/ticket/key_rotation.lua:318: in function 'init'
init_by_lua:2: in main chunk