diff --git a/nginx-ldap-auth.conf b/nginx-ldap-auth.conf index ac96d0f..f5245df 100644 --- a/nginx-ldap-auth.conf +++ b/nginx-ldap-auth.conf @@ -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;