Skip to content

Commit

Permalink
edit letsencrypt command since you must repeat for each domain (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcaurele authored and Loic Lambiel committed Mar 3, 2017
1 parent 42514a7 commit a1f34ab
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,7 @@ Note that as said in the beginning, the client requires a few dependencies.

You can now request a certificate for your domain. You'll get prompted to provide your email address for the expiring notifications and accept the Terms:

export DOMAINS="yourdomain.here,www.yourdomain.here"
export DIR=/var/www/demo
sudo letsencrypt certonly -a webroot --webroot-path=$DIR -d $DOMAINS
sudo letsencrypt certonly -a webroot --webroot-path=/var/www/demo -d yourdomain.here -d www.yourdomain.here

You need of course to use your own domain name in the `DOMAINS` list.

Expand Down

0 comments on commit a1f34ab

Please sign in to comment.