Is this working with haproxy:latest docker image? #5
Description
I'm trying all day long, but it just does not work. The instructions are insufficient.
I don't understand why the haproxy docker image can't come with lua-ossl, but ok, I build one image just to add this one.
The instruction say to put the files in the right LUA_PATH, but don't tell us where it is or how to find it within haproxy, but ok, after some hours, I find out it could be /usr/local/share/lua/5.3/.
So I droped all the lua files there, just to find out the lua-load config.lua does not find the file. Ok, lua-load /usr/local/share/lua/5.3/config.lua seens to work.
But, lua-load /usr/local/share/lua/5.3/acme.lua will tell me it can't load the damn http.lua file that is there, with all the rest.
[ALERT] 187/185031 (1) : parsing [/usr/local/etc/haproxy/haproxy.cfg:6] : Lua runtime error: error loading module 'http' from file '/usr/local/share/lua/5.3':
cannot read /usr/local/share/lua/5.3: Is a directory
[ALERT] 187/185031 (1) : Error(s) found in configuration file : /usr/local/etc/haproxy/haproxy.cfg
[ALERT] 187/185031 (1) : Fatal errors found in configuration.
That is it. And I still don't understand why haproxy guys thinks SSL is not cool enough in 2020 to not get it bundled in a working state with haproxy docker image.
If someone can point me where I'm getting it wrong, I can try again. Till there, acme.sh docker image works out of the box.