nginx FastCGI example
A minimal nginx configuration can serve static files directly and pass LaiRu pages to FPM.
Target
This example keeps root, DOCUMENT_ROOT, and SCRIPT_FILENAME aligned. That alignment is what lets the runtime know which files belong to the site.
Use a unix socket for a same-host deployment. Use a loopback TCP address only when that fits the local service layout.
Examples
Working pattern
1server {2 listen 80;3 root /var/www/html;4 location / { try_files $uri $uri/ /index.lasso?$query_string; }5 location ~ \.lasso$ {6 include fastcgi_params;7 fastcgi_pass unix:/run/lairu/lairu-fpm.sock;8 }9}Use this as a focused starting point and adapt it in context.