Skip to content

Allow auth_ldap in NGX_HTTP_LIF_CONF context.#257

Open
sobolev-es wants to merge 1 commit intokvspb:masterfrom
sobolev-es:lif_auth_ldap
Open

Allow auth_ldap in NGX_HTTP_LIF_CONF context.#257
sobolev-es wants to merge 1 commit intokvspb:masterfrom
sobolev-es:lif_auth_ldap

Conversation

@sobolev-es
Copy link

Сonfiguration example

geo $authentication {
    default "on";
    127.0.0.1 "off";
    192.168.0.0/24 "off";
...
}

server {
...
location / {
    if ($authentication = "on"){
       auth_ldap "UCS Auth required!";
    }
    auth_ldap_servers ucs;
...
}

@sobolev-es
Copy link
Author

Related issue #77

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

Successfully merging this pull request may close these issues.

1 participant