changeset 26:c6d9d0d5f847

man: add information about lighttpd
author David Demelier <markand@malikania.fr>
date Thu, 31 Mar 2022 07:19:45 +0200
parents b74c1f165e51
children 37fd3446b654
files imgupd.8.in
diffstat 1 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/imgupd.8.in	Sun Jan 02 10:24:45 2022 +0100
+++ b/imgupd.8.in	Thu Mar 31 07:19:45 2022 +0200
@@ -186,6 +186,26 @@
 	}
 }
 .Ed
+.\" Server: lighttpd
+.Ss Server: lighttpd
+This configuration uses FastCGI module rather than plain CGI.
+.Bd -literal
+# Add mod_fastcgi to this parameter.
+server.modules = (
+	"mod_fastcgi"
+)
+
+$HTTP["host"] == "mypaste" {
+	fastcgi.server = (
+		"/" => ((
+			"socket" => "/var/www/run/httpd.sock",
+			"check-local" => "disable",
+			"docroot" => "/",
+			"fix-root-scriptname" => "enable"
+		))
+	)
+}
+.Ed
 .\" ENVIRONMENT
 .Sh ENVIRONMENT
 The following environment variables are detected: