lua-resty-http
lua-resty-http copied to clipboard
HTTPS support?
Does this thing support HTTPS?
I'm using it now and it seems not to, even though there is logic to change the port based on URI scheme.
I am assuming SSL needs to be implemented here? Or is that actually done in ngx socket?
Not yet. This requires SSL cosocket support in ngx_lua. For now, you can use ngx.location.capture + ngx_proxy module to do https nonblockingly in nginx.
通过实验得知,ngx_proxy是无法反向代理https的网站