aboutsummaryrefslogtreecommitdiff
path: root/acme.toml
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-12-06 17:35:58 +0100
committerDimitri Sokolyuk <demon@dim13.org>2015-12-06 17:35:58 +0100
commit883476c9943466d18a94cd327f426429f1f1b2ae (patch)
treefecbaf963a52380eb7d91d32af057929338287ff /acme.toml
parentb6490b89ad42af8f3e4e6efcc1c335a105b255df (diff)
Alternative aproach
Diffstat (limited to 'acme.toml')
-rw-r--r--acme.toml8
1 files changed, 4 insertions, 4 deletions
diff --git a/acme.toml b/acme.toml
index beea243..eb801ce 100644
--- a/acme.toml
+++ b/acme.toml
@@ -1,18 +1,18 @@
-[account]
+[[account]]
mail = "another@example.com"
key = "/etc/acme.key"
provider = "https://acme-staging.api.letsencrypt.org/directory"
-[[want]]
+[[account.want]]
domains = [ "www.example.com", "example.com" ]
cert = "/etc/certs/www_example_com.pem"
key = "/etc/private/www_example_com.key"
# webroot = /var/www/htdocs
-[[want]]
+[[account.want]]
domains = [ "www.example.net", "example.net" ]
cert = "/etc/certs/www_example_net.pem"
key = "/etc/private/www_example_net.key"
-[[hook]]
+[[account.hook]]
cmd = "sudo service nginx reload"