Add explanation in README on how to create a Basic Auth password file
This commit is contained in:
parent
0670a13d92
commit
f166144cf5
1 changed files with 5 additions and 1 deletions
|
@ -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 <username> <password> > htpasswd
|
||||
```
|
||||
|
||||
### Custom Nginx Configuration
|
||||
|
||||
|
|
Loading…
Reference in a new issue