Fix small typos and imprecisions
This commit is contained in:
parent
8952b217a8
commit
ea2ebf210e
|
|
@ -66,7 +66,7 @@ For detailed instructions, see [Configuring the Reference Implementation](https:
|
||||||
proxy_cache_path <strong>cache/</strong> keys_zone=<strong>auth_cache</strong>:<strong>10m</strong>;
|
proxy_cache_path <strong>cache/</strong> keys_zone=<strong>auth_cache</strong>:<strong>10m</strong>;
|
||||||
|
|
||||||
upstream backend {
|
upstream backend {
|
||||||
server <strong>127.0.0.1</strong>:9000;
|
server <strong>127.0.0.1</strong>:9000;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
|
@ -83,9 +83,6 @@ For detailed instructions, see [Configuring the Reference Implementation](https:
|
||||||
# Base DN
|
# Base DN
|
||||||
proxy_set_header X-Ldap-BaseDN "<strong>cn=Users,dc=test,dc=local</strong>";
|
proxy_set_header X-Ldap-BaseDN "<strong>cn=Users,dc=test,dc=local</strong>";
|
||||||
|
|
||||||
# Bind DN
|
|
||||||
proxy_set_header X-Ldap-BindDN "<strong>cn=root,dc=test,dc=local</strong>";
|
|
||||||
|
|
||||||
# Bind password
|
# Bind password
|
||||||
proxy_set_header X-Ldap-BindPass "<strong>secret</strong>";
|
proxy_set_header X-Ldap-BindPass "<strong>secret</strong>";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ http {
|
||||||
proxy_cache_key "$http_authorization$cookie_nginxauth";
|
proxy_cache_key "$http_authorization$cookie_nginxauth";
|
||||||
|
|
||||||
# As implemented in nginx-ldap-auth-daemon.py, the ldap-auth daemon
|
# As implemented in nginx-ldap-auth-daemon.py, the ldap-auth daemon
|
||||||
# communicates with an OpenLDAP server, passing in the following
|
# communicates with a LDAP server, passing in the following
|
||||||
# parameters to specify which user account to authenticate. To
|
# parameters to specify which user account to authenticate. To
|
||||||
# eliminate the need to modify the Python code, this file contains
|
# eliminate the need to modify the Python code, this file contains
|
||||||
# 'proxy_set_header' directives that set the values of the
|
# 'proxy_set_header' directives that set the values of the
|
||||||
|
|
@ -93,7 +93,7 @@ http {
|
||||||
|
|
||||||
# (Required if using Microsoft Active Directory as the LDAP server)
|
# (Required if using Microsoft Active Directory as the LDAP server)
|
||||||
# Set the LDAP template by uncommenting the following directive.
|
# Set the LDAP template by uncommenting the following directive.
|
||||||
#proxy_set_header X-Ldap-Template "(SAMAccountName=%(username)s)";
|
#proxy_set_header X-Ldap-Template "(sAMAccountName=%(username)s)";
|
||||||
|
|
||||||
# (Optional if using OpenLDAP as the LDAP server) Set the LDAP
|
# (Optional if using OpenLDAP as the LDAP server) Set the LDAP
|
||||||
# template by uncommenting the following directive and replacing
|
# template by uncommenting the following directive and replacing
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue