add Comment for HTTP basic authentication.

This commit is contained in:
dd-han 2018-04-19 15:26:59 +08:00
parent 732eb15f07
commit b5c580bac9
1 changed files with 2 additions and 0 deletions

View File

@ -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/;