http://phecoopwm6x7azx26ctuqcp6673bbqkrqfeoiz2wwk36sady5tqbdpqd.onion/posts/lua/connect-to-https-upstream-with-lua-resty-http.html
Skip to main content Private area snippets.bentasker.co.uk Search Tags BASH Python JS Misc Connect to HTTPS upstream with lua-resty-http (LUA) Ben Tasker 2020-09-16 10:57 Category: LUA The lua-resty-http is incredbily useful when you need some LUA in OpenResty to place external HTTP requests. However, when you need it to do HTTPS things are just a little more complex - it's not a simple as passing it https as a scheme, instead you need to make a specific call to trigger the SSL handshake...