1
0
mirror of https://git.cloudron.io/cloudron/syncthing-app synced 2025-09-27 07:17:24 +00:00

Caching ldap auth and fixed tests

This commit is contained in:
Dennis Schwerdel
2017-05-23 15:08:50 +02:00
parent 04c3af14e2
commit b5aadcde74
4 changed files with 21 additions and 29 deletions

View File

@@ -28,6 +28,9 @@ http {
proxy_buffering off;
proxy_cache_path /tmp/proxy_cache levels=1:2 keys_zone=my_cache:10m max_size=100m inactive=60m use_temp_path=off;
proxy_cache my_cache;
auth_ldap_cache_enabled on;
auth_ldap_cache_expiration_time 300000;
auth_ldap_cache_size 100;
server {
error_log /dev/stderr warn;