For standard nginx, try to addlua_load_resty_core off;into http {} block of nginx.conf.
minimal repro case $ wget https://gist.githubusercontent.com/juancampa/634f9739a108bc5ea154c34e19343314/raw/ -O conf.d/default.conf Run vanilla OpenResty build $ docker run -v $PWD/certs:/etc/certs -v $PWD/conf.d:/etc/nginx/conf.d -p 3000:443 openresty/openresty:alpine Repro it!