aboutsummaryrefslogtreecommitdiff
path: root/acme.conf
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-12-08 11:48:34 +0100
committerDimitri Sokolyuk <demon@dim13.org>2015-12-08 11:48:34 +0100
commit7e237c5baf9f8ddf4e0930e00cef75d57d14ef0d (patch)
tree81a14481cb012704b80b433d020ac5ab12beaae5 /acme.conf
parent5315912a850da4ba86525b593288867711227d89 (diff)
Refine config
Diffstat (limited to 'acme.conf')
-rw-r--r--acme.conf49
1 files changed, 18 insertions, 31 deletions
diff --git a/acme.conf b/acme.conf
index b785341..705137a 100644
--- a/acme.conf
+++ b/acme.conf
@@ -1,47 +1,34 @@
-# provider definitions
-provider lev1 \
- directory https://acme-v01.api.letsencrypt.org/directory
+# global settings
+set geracetime 1 week
-provider les \
- directory https://acme-staging.api.letsencrypt.org/directory
+# provider definitions
+provider lev1 https://acme-v01.api.letsencrypt.org/directory
+provider les https://acme-staging.api.letsencrypt.org/directory
# account definitions
-account another@example.com \
- key /etc/another.key \
- provider les
+account another@example.com key /etc/another.key provider les
+account mailmaster@example.com key /etc/mailmaster.key provider les
-account mailmaster@example.com \
- key /etc/mailmaster.key \
- provider les
+# hook definitions
+hook nginx "sudo service nginx reload"
+hook dovecot "sudo service dovecot reload"
-# domain definitions
-domain www.example.com \
- altnames { example.com, www2.example.com } \
+# desire definitions
+desire { www.example.com, example.com, www2.example.com } \
key /etc/ssl/private/www_example_com.key \
cert /etc/ssl/cert/www_example_com.pem \
webroot /var/www/htdocs \
- using another@example.com \
- gracetime 1 week \
+ from another@example.com \
hook nginx
-
-# domains with prefix www imply altname without www
-domain www.example.net \
+# desire with prefix www imples altname without www
+desire www.example.net \
key /etc/ssl/private/www_example_net.key \
cert /etc/ssl/cert/www_example_net.pem \
- using another@example.com
+ from another@example.com
-domain mail.example.com \
+desire mail.example.com \
key /etc/ssl/private/mail_example_com.key \
cert /etc/ssl/cert/mail_example_com.pem \
- using another@example.com \
- gracetime 1 week \
+ from mailmaster@example.com \
hook dovecot
-
-# hook definitions
-hook nginx \
- cmd "sudo service nginx reload"
-
-hook dovecot \
- cmd "sudo service dovecot reload"
-