如何引用第三方 resty 库

    我们以 ( pintsized/lua-resty-http) 库为例。

    只要将 目录下的 http.lua 和 两个文件拷贝到 /usr/local/openresty/lualib/resty 目录下即可。

    访问 , 如果出现的是百度的首页,说明你配置成功了。