lapis
lapis copied to clipboard
display "listening on ..." on startup
I am trying to run luarocks.org and when starting I see:
sudo lapis serve
[sudo] password for teto:
nginx: [alert] lua_code_cache is off; this will hurt performance in /home/teto/luarocks-site/nginx.conf.compiled:38
nginx: [warn] duplicate MIME type "text/html" in /home/teto/luarocks-site/nginx.conf.compiled:97
nginx: [alert] lua_code_cache is off; this will hurt performance in /home/teto/luarocks-site/nginx.conf.compiled:196
2024/01/21 18:34:51 [notice] 671747#671747: using the "epoll" event method
2024/01/21 18:34:51 [notice] 671747#671747: openresty/1.21.4.1
2024/01/21 18:34:51 [notice] 671747#671747: built by gcc 12.3.0 (GCC)
2024/01/21 18:34:51 [notice] 671747#671747: OS: Linux 6.7.0
2024/01/21 18:34:51 [notice] 671747#671747: getrlimit(RLIMIT_NOFILE): 32768:32768
2024/01/21 18:34:51 [notice] 671747#671747: start worker processes
2024/01/21 18:34:51 [notice] 671747#671747: start worker process 671775
would it make sense to display host:port the application is listening to to help newcomers ?