From ce3f1fa7ca0ac9eb517340bbd3638b24797259d7 Mon Sep 17 00:00:00 2001 From: Tobias Munk Date: Thu, 9 Apr 2015 22:08:59 +0200 Subject: [PATCH] show command on multiple lines, increased readability --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 93e3dd7..2312b25 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,13 @@ a 503. In order to be able to securize your virtual host, you have to create a file named as its equivalent VIRTUAL_HOST variable on directory /etc/nginx/htpasswd/$VIRTUAL_HOST - $ docker run -d -p 80:80 -p 443:443 -v /path/to/htpasswd:/etc/nginx/htpasswd -v /path/to/certs:/etc/nginx/certs -v /var/run/docker.sock:/tmp/docker.sock jwilder/nginx-proxy +``` +$ docker run -d -p 80:80 -p 443:443 \ + -v /path/to/htpasswd:/etc/nginx/htpasswd \ + -v /path/to/certs:/etc/nginx/certs \ + -v /var/run/docker.sock:/tmp/docker.sock \ + jwilder/nginx-proxy +``` You'll need apache2-utils on the machine you plan to create de htpasswd file. Follow these [instructions](http://httpd.apache.org/docs/2.2/programs/htpasswd.html)