我安装了openresty-1.13.6.1,但它缺少'resty.http‘模块。我的openresty安装在/usr/local/openresty中,我需要将resty.http模块集成到其中。该怎么做呢?
发布于 2018-01-20 03:36:23
只需将这两个文件(https://github.com/pintsized/lua-resty-http/tree/master/lib/resty)复制到/usr/local/openresty/lualib文件夹。
更新:
生成的文件结构应为:
/usr/local/openresty/lualib/resty/http.lua
/usr/local/openresty/lualib/resty/http_headers.luahttps://stackoverflow.com/questions/48319678
复制相似问题