mirror of
https://github.com/mainnika/nginx-auth-ldap.git
synced 2026-06-13 02:13:36 +00:00
Allow include directive in ldap block
This commit is contained in:
@@ -350,6 +350,8 @@ ngx_http_auth_ldap_ldap_server(ngx_conf_t *cf, ngx_command_t *dummy, void *conf)
|
|||||||
return NGX_CONF_ERROR;
|
return NGX_CONF_ERROR;
|
||||||
}
|
}
|
||||||
server->connections = i;
|
server->connections = i;
|
||||||
|
} else if (ngx_strcmp(value[0].data, "include") == 0) {
|
||||||
|
return ngx_conf_include(cf, dummy, conf);
|
||||||
}
|
}
|
||||||
|
|
||||||
rv = NGX_CONF_OK;
|
rv = NGX_CONF_OK;
|
||||||
|
|||||||
Reference in New Issue
Block a user