You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What makes you think this has anything to do with lua-resty-http? The error appears to be related to your installation / platform - you will get the same error calling https://github.com/openresty/lua-nginx-module#tcpsocksslhandshake from any Lua code.
前提
电脑:
其他安装版本(使用nginx源码编译的方式集成 lua, 而非 openresty):
nginx需要的模块(从openresty的 github 中下载):
lua-resty-http
模块:配置 nginx,添加
resty
目录映射:开发
因为后台是使用的
https
的链接, 所以想通过nginx lua
直接调用,代码如下:nginx
配置:现在报错信息如下:
查看
socket.lua
找到错误地方:查看
http_connect.lua
找到错误地方:http
请求正常,就是https
报错,帮忙看一下,谢谢~The text was updated successfully, but these errors were encountered: