Hello! On Sun, Oct 11, 2015 at 7:25 PM, Olsen wrote: > 我用Google 搜的 > > https://github.com/liseen/lua-resty-http > https://github.com/pintsized/lua-resty-http > > 比如我要获取 https://www.google.com的数据; > > 好像都不支持https网址访问, 请问有没有支持https的 http client > 我很确定上面的第二个 lua-resty-http 库,即 James Hurst 编写的实现,是支持 SSL 的。你可以在那个文档里面查找 SSL. 当然,你也可以使用 ngx.location.capture 发起子请求到配置了 ngx_proxy 模块的 location. Regards, -agentzh
Hello! On Sun, Oct 11, 2015 at 7:25 PM, Olsen wrote: > 我用Google 搜的 > > https://github.com/liseen/lua-resty-http > https://github.com/pintsized/lua-resty-http > > 比如我要获取 https://www.google.com的数据 > > 好像都不支持https网址访问, 请问有没有支持https的 http client > 我很确定上面的第二个 lua-resty-http 库,即 James Hurst 编写的实现,是支持 SSL 的。你可以在那个文档里面查找 SSL. 当然,你也可以使用 ngx.location.capture 发起子请求到配置了 ngx_proxy 模块的 location. Regards, -agentzh
我用Google 搜的 https://github.com/liseen/lua-resty-httphttps://github.com/pintsized/lua-resty-http比如我要获取 https://www.google.com的数据好像都不支持https网址访问, 请问有没有支持https的 http client