nginxinc / nginx-ldap-auth

Example of LDAP authentication using ngx_http_auth_request_module
BSD 2-Clause "Simplified" License
686 stars 202 forks source link

Exit on SIGTERM for Kubernetes, print startup message #28

Closed cmur2 closed 6 years ago

cmur2 commented 6 years ago

SIGINT is nice for interactive sessions and daemons but for Docker and especially Kubernetes a graceful exit on SIGTERM is required otherwise the shutdown is delayed by 30 seconds until the container is killed.