Document roots, LaiRu HTTP serving, LaiRu FPM, FastCGI parameters, nginx, Apache, systemd, and deployment defaults.
The web root is the top-level directory for request-addressable site files.
Default paths make a conventional install work before customization.
FastCGI parameters describe the request, target script, query string, and document root.
LaiRu can serve requests directly for local HTTP work or run behind nginx and Apache through LaiRu FPM.
LaiRu FPM is the FastCGI process manager used behind nginx or Apache.
A systemd unit can keep LaiRu FPM running and recreate runtime directories on boot.
Apache can serve LaiRu sites by proxying dynamic requests to LaiRu FPM.
A minimal Apache virtual host can rewrite friendly URLs and proxy LaiRu pages to FPM.
The built-in HTTP server runs a site directly from the LaiRu binary.
nginx serves static files and forwards LaiRu requests to LaiRu FPM through FastCGI.
A minimal nginx configuration can serve static files directly and pass LaiRu pages to FPM.