Open fleximus opened 9 years ago
+1 for, at a minimum, documenting the cache settings. I had to find issue #8 in order to know they existed at all.
This did it for me:
http {
...
auth_ldap_cache_enabled on;
auth_ldap_cache_expiration_time 10000;
auth_ldap_cache_size 1000;
...
}
I would gladly raise a PR, but I'm not sure I understand what units this is using - I'm guessing seconds and KB?
for the expiration time, it seems the code and the doc refer to milliseconds, but the behaviour seems to be in seconds. I'm puzzled.
Hi,
while trying to figure out the correct settings to activate the cache I found out that there are at least three ways to have a positive nginx configtest, but only one seems to be correct.
configtest OK, works NOT correctly:
configtest OK, works NOT correctly:
configtest OK, works correctly
I'd like to propose having configtest fail for the incorrect ones and an updated documentation.