Merge 1aec911b09 into c4ad18fecc
This commit is contained in:
commit
bcc4b1cfdb
@ -359,7 +359,11 @@ docker run -d -p 80:80 -p 443:443 \
|
||||
nginxproxy/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> > $VIRTUAL_HOST
|
||||
```
|
||||
|
||||
### Custom Nginx Configuration
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user