diff options
Diffstat (limited to 'doc/config/conf.d/auth.conf')
-rw-r--r-- | doc/config/conf.d/auth.conf | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/doc/config/conf.d/auth.conf b/doc/config/conf.d/auth.conf index 5fa9b740..7238c046 100644 --- a/doc/config/conf.d/auth.conf +++ b/doc/config/conf.d/auth.conf @@ -3,13 +3,12 @@ ## Authentication Module ## ----------------------- ## -## See https://redmine.lighttpd.net/projects/lighttpd/wiki/docs_modauth -## for more info. +## See https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModAuth +## for more info and many more options. ## #auth.backend = "plain" #auth.backend.plain.userfile = "/etc/lighttpd/lighttpd.user" -#auth.backend.plain.groupfile = "/etc/lighttpd/lighttpd.group" #auth.backend.ldap.hostname = "localhost" #auth.backend.ldap.base-dn = "dc=my-domain,dc=com" @@ -24,4 +23,13 @@ # ) ## +## 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") + +## ####################################################################### |