Update nginx-ldap-auth.conf
Refine comments about setting IP addresses for the back-end and ldap-auth daemons.
This commit is contained in:
parent
dab97f77e9
commit
4129f7b7c7
|
|
@ -5,6 +5,10 @@ events { }
|
|||
http {
|
||||
proxy_cache_path cache/ keys_zone=auth_cache:10m;
|
||||
|
||||
# The back-end daemon listens on port 9000 as configured
|
||||
# in backend-sample-app.py.
|
||||
# Change the IP address if the daemon is not running on the
|
||||
# same host as NGINX/NGINX Plus.
|
||||
upstream backend {
|
||||
server 127.0.0.1:9000;
|
||||
}
|
||||
|
|
@ -34,10 +38,10 @@ http {
|
|||
location = /auth-proxy {
|
||||
internal;
|
||||
|
||||
# (Required) Set the IP address where the authentication daemon
|
||||
# is running, by replacing '127.0.0.1'.
|
||||
# The ldap-auth daemon listens on port 8888 as configured
|
||||
# in the Python script.
|
||||
# The ldap-auth daemon listens on port 8888, as configured
|
||||
# in the nginx-ldap-auth.py.
|
||||
# Change the IP address if the daemon is not running on
|
||||
# the same host as NGINX/NGINX Plus.
|
||||
proxy_pass http://127.0.0.1:8888;
|
||||
|
||||
proxy_pass_request_body off;
|
||||
|
|
|
|||
Loading…
Reference in New Issue