Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDAP wants to enable session timeout, #227

Open
imran-baig-se opened this issue Nov 17, 2019 · 0 comments
Open

LDAP wants to enable session timeout, #227

imran-baig-se opened this issue Nov 17, 2019 · 0 comments

Comments

@imran-baig-se
Copy link

Hello team,

I would like to enable session time out like 24h re-authenticate the user again.

my default conf.

server {

listen       80;

    auth_ldap "Authentication is required";
    auth_ldap_servers ldapserver;

access_log /www/logs/nginx/access.log;
error_log /www/logs/nginx/error.log;

disable_symlinks off;

location = /robots.txt {
  allow all;
  log_not_found off;
  access_log off;
}

location / {
proxy_pass http://xxx-dev.xxxx.io:5601;
}
# deny dot-files
location ~ /. {
deny all;
access_log off;
log_not_found off;
}

location ~* .(jpg|jpeg|gif|png|css|js|ico|xml)$ {

access_log on;

log_not_found on;

expires 360d;

}

}

Please help on this I tried to below directives without any luck.

- UPLOAD_MAX_SIZE=2G
- AUTH_LDAP_CACHE_ENABLED=on
- AUTH_LDAP_CACHE_EXPIRATION_TIME=1000
- AUTH_LDAP_CACHE_SIZE=1000

Thanks in advance @kvspb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant