From eac8408c82de09d16ff1db44196f8883e53a9156 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Golembiovsk=C3=BD?= Date: Thu, 16 Jan 2014 18:25:42 +0100 Subject: [PATCH] Allow include directive in ldap block --- ngx_http_auth_ldap_module.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ngx_http_auth_ldap_module.c b/ngx_http_auth_ldap_module.c index c12da01..1dd8b92 100644 --- a/ngx_http_auth_ldap_module.c +++ b/ngx_http_auth_ldap_module.c @@ -350,6 +350,8 @@ ngx_http_auth_ldap_ldap_server(ngx_conf_t *cf, ngx_command_t *dummy, void *conf) return NGX_CONF_ERROR; } server->connections = i; + } else if (ngx_strcmp(value[0].data, "include") == 0) { + return ngx_conf_include(cf, dummy, conf); } rv = NGX_CONF_OK;