首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用已安装的openresty安装resty.http

使用已安装的openresty安装resty.http
EN

Stack Overflow用户
提问于 2018-01-18 18:57:54
回答 1查看 3.2K关注 0票数 2

我安装了openresty-1.13.6.1,但它缺少'resty.http‘模块。我的openresty安装在/usr/local/openresty中,我需要将resty.http模块集成到其中。该怎么做呢?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-01-20 03:36:23

只需将这两个文件(https://github.com/pintsized/lua-resty-http/tree/master/lib/resty)复制到/usr/local/openresty/lualib文件夹。

更新:

生成的文件结构应为:

代码语言:javascript
复制
/usr/local/openresty/lualib/resty/http.lua
/usr/local/openresty/lualib/resty/http_headers.lua
票数 5
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/48319678

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档