From 06fc2c505fd83fa97b711497b8b56873fed8be79 Mon Sep 17 00:00:00 2001 From: Fabian Date: Mon, 22 Mar 2021 15:26:03 +0100 Subject: [PATCH] Doc: improve basic auth middleware httpasswd example --- docs/content/middlewares/basicauth.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/middlewares/basicauth.md b/docs/content/middlewares/basicauth.md index 9454e345d..be9691357 100644 --- a/docs/content/middlewares/basicauth.md +++ b/docs/content/middlewares/basicauth.md @@ -14,7 +14,7 @@ The BasicAuth middleware restricts access to your services to known users. # # Note: when used in docker-compose.yml all dollar signs in the hash need to be doubled for escaping. # To create user:password pair, it's possible to use this command: -# echo $(htpasswd -nb user password) | sed -e s/\\$/\\$\\$/g +# echo $(htpasswd -nB user) | sed -e s/\\$/\\$\\$/g # # Also note that dollar signs should NOT be doubled when they not evaluated (e.g. Ansible docker_container module). labels: