Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/facebook/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Nginx 使用已安装的openresty安装resty.http_Nginx_Lua_Google Oauth_Openresty - Fatal编程技术网

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

Nginx 使用已安装的openresty安装resty.http,nginx,lua,google-oauth,openresty,Nginx,Lua,Google Oauth,Openresty,我安装了openresty-1.13.6.1,但它缺少“resty.http”模块。我的openresty安装在/usr/local/openresty中,我需要将resty.http模块与之集成。如何操作?只需将这两个文件()复制到/usr/local/openresty/lualib文件夹中即可 更新: 结果文件结构应为: /usr/local/openresty/lualib/resty/http.lua /usr/local/openresty/lualib/resty/http_hea

我安装了openresty-1.13.6.1,但它缺少“resty.http”模块。我的openresty安装在/usr/local/openresty中,我需要将resty.http模块与之集成。如何操作?

只需将这两个文件()复制到/usr/local/openresty/lualib文件夹中即可

更新:

结果文件结构应为:

/usr/local/openresty/lualib/resty/http.lua
/usr/local/openresty/lualib/resty/http_headers.lua