greenlock-cli.js/dist/etc/greenlock/greenlock.example.yml

46 lines
1.2 KiB
YAML

daemon: true
http_port: 80
https_port: 443
version: draft-11
server: https://acme-staging-v02.api.letsencrypt.org/directory
webroot_path: /srv/www
store:
module: 'le-store-certbot'
options:
config_dir: /etc/greenlock/
domains:
'*':
check:
module: 'fs-exists'
options:
path: /srv/www/:hostname
email: MY_EMAIL
agree_tos: MY_AGREE
analytics: true
challenges:
'https-01':
module: 'le-challenge-fs'
'example.com,www.example.com':
path: /srv/www/example.com
email: MY_EMAIL
agree_tos: MY_AGREE
analytics: true
challenges:
'dns-01':
module: 'le-challenge-cloudflare'
options:
email: 'jon@example.com'
key: 'xxxxxxxxxxxxxxxxx'
'.example.com':
check: null
path: /srv/www/example.com
email: MY_EMAIL
agree_tos: MY_AGREE
analytics: true
challenges:
'dns-01':
module: 'le-challenge-digitalocean'
options:
email: 'jon@example.com'
key: 'xxxxxxxxxxxxxxxxx'