A guide in this repository, Nginx/guides/openresty-production-deployment/README.md, for running OpenResty (an Nginx-based platform with LuaJIT and Lua modules) alone on one Ubuntu 24.04 LTS VM, with a Lua health endpoint, a reverse proxy to 127.0.0.1:3000, and Certbot webroot HTTPS.1

Takeaways

  • Choose OpenResty only when the gateway needs reviewed Lua behaviour; it replaces Nginx on the host rather than running beside it. See OpenResty production deployment.
  • Lua runs in the event-driven request path, so blocking work does not belong there.
  • The change and verification procedure mirrors the Nginx guide.1 See Safe change procedure.

Footnotes

  1. OpenResty Production Deployment and Operations for Beginners, original on GitHub ↩ ↩2