From b5c580bac962062fc35325da2ca5e2f34007efa1 Mon Sep 17 00:00:00 2001
From: dd-han <han@dd-han.tw>
Date: Thu, 19 Apr 2018 15:26:59 +0800
Subject: [PATCH] add Comment for HTTP basic authentication.

---
 nginx-ldap-auth.conf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/nginx-ldap-auth.conf b/nginx-ldap-auth.conf
index e890444..5353741 100644
--- a/nginx-ldap-auth.conf
+++ b/nginx-ldap-auth.conf
@@ -23,6 +23,8 @@ http {
             auth_request /auth-proxy;
 
             # redirect 401 to login form
+            # Comment them out if using HTTP basic authentication.
+            # or authentication popup won't show
             error_page 401 =200 /login;
 
             proxy_pass http://backend/;
-- 
GitLab