From b9d79bbbe7f05af74f6a98020f3dd668f163d41f Mon Sep 17 00:00:00 2001 From: Niklas Keller Date: Mon, 20 Jun 2016 15:55:23 +0200 Subject: [PATCH] Improve documentation for the auto command, closes #31 --- doc/usage.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/doc/usage.md b/doc/usage.md index 674281c..5032769 100644 --- a/doc/usage.md +++ b/doc/usage.md @@ -41,8 +41,10 @@ certificates: # Required: paths # Optional: bits, user # - # paths: Map of document roots to domains. - # /tmp is used here for domains without a real document root. + # paths: Map of document roots to domains. Maps each path to one or multiple + # domains. If one domain is given, it's automatically converted to an + # array. The first domain will be the common name. + # # The client will place a file into $path/.well-known/acme-challenge/ # to verify ownership to the CA # @@ -53,9 +55,9 @@ certificates: # - bits: 4096 paths: - /tmp: - - docs.example.org - - git.example.org + /var/www/example: + - example.org + - www.example.org # You can have multiple certificate with different users and key options. - user: www-data paths: