From f166144cf50ff68c04c4687ba70932486ac69fbe Mon Sep 17 00:00:00 2001 From: Santiago Castro Date: Thu, 13 Oct 2016 11:41:19 -0300 Subject: [PATCH 1/2] Add explanation in README on how to create a Basic Auth password file --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 52ab6e4..bef3d44 100644 --- a/README.md +++ b/README.md @@ -198,7 +198,11 @@ $ docker run -d -p 80:80 -p 443:443 \ jwilder/nginx-proxy ``` -You'll need apache2-utils on the machine where you plan to create the htpasswd file. Follow these [instructions](http://httpd.apache.org/docs/2.2/programs/htpasswd.html) +You'll need to create a password file for each virtualhost: + +```shell +docker run --rm -ti m31271n/htpasswd > htpasswd +``` ### Custom Nginx Configuration From 1aec911b0988202b8ec86b906a26a98dc6c3c254 Mon Sep 17 00:00:00 2001 From: Santiago Castro Date: Mon, 16 Jan 2017 15:03:37 -0300 Subject: [PATCH 2/2] Fix PR comments --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bef3d44..059632c 100644 --- a/README.md +++ b/README.md @@ -201,7 +201,7 @@ $ docker run -d -p 80:80 -p 443:443 \ You'll need to create a password file for each virtualhost: ```shell -docker run --rm -ti m31271n/htpasswd > htpasswd +docker run --rm -ti m31271n/htpasswd > $VIRTUAL_HOST ``` ### Custom Nginx Configuration