aboutsummaryrefslogtreecommitdiff
path: root/acme.conf
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-12-13 20:17:09 +0100
committerDimitri Sokolyuk <demon@dim13.org>2015-12-13 20:17:09 +0100
commit8692a50c6c072287f0633cde9716fa95856116f6 (patch)
tree87f93c3aabb51c293109af1b01f293c85730e553 /acme.conf
parentb273043d1a7470ed8aacd686510dd58b3479c1bf (diff)
Expand example config
Diffstat (limited to 'acme.conf')
-rw-r--r--acme.conf14
1 files changed, 8 insertions, 6 deletions
diff --git a/acme.conf b/acme.conf
index bf7e22c..b05faf3 100644
--- a/acme.conf
+++ b/acme.conf
@@ -1,5 +1,6 @@
# global settings
set geracetime 1 week
+listen on lo port 8443
# provider definitions
provider lev1 https://acme-v01.api.letsencrypt.org/directory
@@ -7,14 +8,15 @@ provider les https://acme-staging.api.letsencrypt.org/directory default
# account definitions
account webmaster@example.com key /etc/webmaster.key default
-account mailmaster@example.com key /etc/mailmaster.key
+account mailmaster@example.com key /etc/mailmaster.key phone +12025551212
# hook definitions
-hook nginx "sudo service nginx reload"
-hook dovecot "sudo service dovecot reload"
-hook smtpd "sudo service smtpd reload"
+hook nginx "doas /etc/rc.d/nginx reload"
+hook dovecot "doas /etc/rc.d/dovecot reload"
+hook smtpd "doas /etc/rc.d/smtpd reload"
# desire definitions
+# full example
desire { www.example.com, example.com, www2.example.com } from les \
as webmaster@example.com \
key /etc/ssl/private/www_example_com.key \
@@ -22,8 +24,8 @@ desire { www.example.com, example.com, www2.example.com } from les \
webroot /var/www/htdocs \
hook nginx
-# desire with prefix www imples altname without www
-# uses defaults for provider and account
+# desire with prefix www implies altname without www
+# short example, with default provider and account
desire www.example.net \
key /etc/ssl/private/www_example_net.key \
cert /etc/ssl/cert/www_example_net.pem