|
- # This is based on a Debian 10 install of LigHTTPd install.
- # Include the 10-fastcgi.conf or:
- # server.modules += ( "mod_fastcgi" )
-
- #fastcgi.debug = 1
- fastcgi.server = (
- "/webmonitor" =>
- ( "trafficctrl" =>
- ( "socket" => "/run/poorman-ids/trafficctrl.fcgi",
- "check-local" => "disable",
- # "fix-root-scriptname" => "enable",
- #"docroot" => "/" # remote server may use
- # its own docroot
-
- )
- )
- )
-
- # Password restriction could be done something like this:
-
- auth.backend = "htpasswd"
- auth.backend.htpasswd.userfile = "/etc/lighttpd/lighttpd.users"
- auth.require += ( "/webmonitor" => (
- "method" => "basic",
- "realm" => "Web Monitor",
- #"require" => "user=root"
- ), )
- # Check LigHTTPd docs for your version.
|