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

nginx: [emerg] "events" directive is not allowed #22

Closed hadar0x closed 7 years ago

oxpa commented 7 years ago

Provided configuration is an example only. It contains full nginx configuration and is not intended to be used out of the box as an included file..

hatdropper1977 commented 7 years ago

Move /etc/nginx/conf.d/nginx-ldap-auth.conf to /etc/nginx/nginx.conf.