Server Configuration

Document roots, LaiRu HTTP serving, LaiRu FPM, FastCGI parameters, nginx, Apache, systemd, and deployment defaults.

Subcategories

Defaults and Paths 2FastCGI 1Overview 1Service Management 2Web Servers 5

Reference Pages

Web root directory

The web root is the top-level directory for request-addressable site files.

FastCGI options

FastCGI parameters describe the request, target script, query string, and document root.

LaiRu FPM

LaiRu FPM is the FastCGI process manager used behind nginx or Apache.

Apache

Apache can serve LaiRu sites by proxying dynamic requests to LaiRu FPM.

LaiRu HTTP server

The built-in HTTP server runs a site directly from the LaiRu binary.

nginx

nginx serves static files and forwards LaiRu requests to LaiRu FPM through FastCGI.

nginx FastCGI example

A minimal nginx configuration can serve static files directly and pass LaiRu pages to FPM.