-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathconfig.yml.example
More file actions
59 lines (51 loc) · 2.37 KB
/
config.yml.example
File metadata and controls
59 lines (51 loc) · 2.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Server to use, "letsencrypt" and "letsencrypt:staging" are valid shortcuts.
# The latter can help when testing as it offers more lenient usage quotas.
server: letsencrypt
# Custom nameserver IP used by the "acme issue" command.
# For example Google public DNS "8.8.8.8" or "8.8.4.4", or Cloudflare 1.1.1.1.
nameserver: null
# Base directory of the certificate document roots.
home: /home/user
# List of certificates to issue and install, for each there are a few options:
# bits: Number of bits for the domain private key, from 2048 to 4096.
# domains: Map of document roots to domains. Maps paths of challenge directories
# to the domains for which certificate should be issued. The very first
# domain will be the common name for the certificate and its directory.
certificates:
# This is the first certificate, common name and directory will be example.com.
# It will be issued for domains example.com and sub.example.com with www variants.
# The challenge files go to /home/user/public_html and /home/user/sub/public_html.
- bits: 4096
domains:
/public_html:
- example.com
- www.example.com
/sub/public_html:
- sub.example.com
- www.sub.example.com
# This is the second certificate, common name and directory will be another.com.
# It will be issued for domain another.com with www variant. The challenge files
# go to /home/user/another/public_html.
- bits: 2048
domains:
/another/public_html:
- another.com
- www.another.com
# Renew a certificate if it is due to expire within so many days.
renew: 30
# E-mail to use for the Let's Encrypt registration. This e-mail will receive
# certificate expiration notices from Let's Encrypt.
email: me@example.com
# E-mail to notify about errors or certificates issued during the execution.
# Used only when command is called with a "-notify" or "-n" flag.
notify: me@example.com
# The cPanel user for which certificates should be installed.
# Necessary only when logged-in as a root.
user: null
# By default certificates will be installed in cPanel for all domains listed above.
# Domains can be filtered by a whitelist of names to accept and/or blacklist to reject.
# The www prefix should be omitted because it is trimmed before the installation.
install:
whitelist:
blacklist:
- sub.example.com