This is an automated email from the ASF dual-hosted git repository.

omartushevskyi pushed a commit to branch DLAB-252
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-252 by this push:
     new 1017a12  fixed issue with timeout
1017a12 is described below

commit 1017a12950c544087a7f5c940f3c995f628c772d
Author: Oleh Martushevskyi <[email protected]>
AuthorDate: Mon Mar 25 15:50:08 2019 +0200

    fixed issue with timeout
---
 infrastructure-provisioning/src/edge/templates/nginx.conf | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/infrastructure-provisioning/src/edge/templates/nginx.conf 
b/infrastructure-provisioning/src/edge/templates/nginx.conf
index ec348c7..2717220 100644
--- a/infrastructure-provisioning/src/edge/templates/nginx.conf
+++ b/infrastructure-provisioning/src/edge/templates/nginx.conf
@@ -48,6 +48,10 @@ http {
     include             /etc/nginx/mime.types;
     default_type        application/octet-stream;
 
+    auth_ldap_cache_enabled on;
+    auth_ldap_cache_expiration_time 10000;
+    auth_ldap_cache_size 1000;
+
     ldap_server ldap1 {
         url 
ldap://LDAP_IP:389/LDAP_DN?uid,mail?sub?(&(objectClass=posixAccount)(uid=LDAP_USERNAME));
         binddn "LDAP_SERVICE_USERNAME,LDAP_DN";


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to