summaryrefslogtreecommitdiff
path: root/doc/config/conf.d/auth.conf
blob: fa4c86dc1ab6db9e9522eed2dd8ce012e76328b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#######################################################################
##
##  Authentication Module
## -----------------------
##
## See https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModAuth
## for more info and many more options.
##

#server.modules += ( "mod_auth" )

#server.modules += ( "mod_authn_file" )
#auth.backend                 = "plain"
#auth.backend.plain.userfile  = "/etc/lighttpd/lighttpd.user"

#server.modules += ( "mod_authn_ldap" )
#auth.backend               = "ldap"
#auth.backend.ldap.hostname = "localhost"
#auth.backend.ldap.base-dn  = "dc=my-domain,dc=com"
#auth.backend.ldap.filter   = "(uid=$)"

#auth.require               = ( "/server-status" =>
#                               (
#                                 "method"  => "digest",
#                                 "realm"   => "Server Status",
#                                 "require" => "valid-user"
#                               ),
#                             )

##
## cache passwords/digests in memory to reduce load on the backend
## max-age is in seconds
##   cache is checked for expiration every 8 seconds, so actual
##   caching may be up to 8 seconds longer than configured max-age.
## default: inactive (no caching)
##
#auth.cache = ("max-age" => "600")

##
#######################################################################