Hi guys, I've a feature suggestion
Include an "opm" directive on Nginx/OpenResty .conf
file (root context)
opm {
calderonth/lua-resty-toylib;
jie123108/lua-resty-s3;
#luarocks/lapis; # see https://opm.openresty.org/docs#description
# ...
}
worker_processes 1;
error_log logs/error.log;
events {
worker_connections 1024;
}
http {
server {
listen 8080;
location / {
default_type text/html;
content_by_lua_block {
ngx.say("<p>hello, world</p>")
}
}
}
}
On start nginx/openresty:
The program will scan for required modules and install them if not found. An error is thrown if unable to install
tks