]> git.pld-linux.org Git - packages/nagios-naglite.git/blob - lighttpd.conf
update to current master (6fa421)
[packages/nagios-naglite.git] / lighttpd.conf
1 alias.url += (
2     "/naglite" => "/usr/share/naglite",
3 )
4
5 $HTTP["url"] =~ "^/naglite/" {
6         auth.require = (
7                 "/naglite/" => (
8                         "method"  => "basic",
9                         "realm"   => "Nagios",
10                         "require" => "valid-user"
11                 )
12         )
13
14         auth.backend = "htpasswd"
15 #       auth.backend = "ldap"
16
17         # htpasswd config
18         auth.backend.htpasswd.userfile = "/etc/webapps/nagios/passwd"
19
20         # ldap config
21         auth.backend.ldap.hostname = "localhost"
22         auth.backend.ldap.base-dn  = "ou=People,dc=example,dc=org"
23         auth.backend.ldap.filter   = "(uid=$)"
24 }
This page took 0.104105 seconds and 3 git commands to generate.