Hi everyone,
I'm very new to OpenResty, but I'm super-excited from the little I've seen so far!
I'm having some trouble getting the ssl_certificate_by_lua_block / ssl_certificate_by_lua_file directives working. I keep getting an "unknown directive" error about the statements in the nginx config file.
What I've tried so far:
3. I've tried building the latest stable release (1.9.7.1) with various patches (hacking my way to a hybrid version, without much luck).
I've built all editions with the following flags:
"--with-http_ssl_module --with-luajit --with-openssl=../openssl-1.0.2e/ --with-ipv6"
(I'm using OpenSSL 1.0.2e and not 1.0.2a, but I doubt that's what's causing the issue).
According to this page:
https://github.com/openresty/lua-nginx-module/issues/331, all the required changes have been commited to master, so the second option should have been the easiest to follow and the most reliable, but none of the above worked for me (nginx will not accept any ssl_certificate_by_lua statements in the config files.
Is there anyone who can offer any insight into what I'm missing? I'd appreciate any help you can offer :-)
Best regards,
Dave