lua-resty-http icon indicating copy to clipboard operation
lua-resty-http copied to clipboard

HTTPS support?

Open ghost opened this issue 12 years ago • 2 comments

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?

ghost avatar Jul 01 '13 09:07 ghost

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.

agentzh avatar Jul 01 '13 18:07 agentzh

通过实验得知,ngx_proxy是无法反向代理https的网站

lhmwzy avatar Jan 28 '14 11:01 lhmwzy