-
Notifications
You must be signed in to change notification settings - Fork 0
/
client_config.toml.example
45 lines (40 loc) · 1.12 KB
/
client_config.toml.example
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
[Server]
retryCount = 5
# http or grpc
# gRPC will be implemented later...
mode = "http"
# only take effect in gRPC mode. If client is using standby server,
# will try main server every failBackInterval
# failBackInterval = "10m"
[Http.MainServer]
url = "https://acmeserver.lanlanlu.com:19198/1145141919810"
token = "KFCCrazyThursdayVMe50"
[Http.StandbyServer]
url = "http://mybackupserver.local:11451/1919810"
# [GRPC.MainServer]
# secure = true
# server = "grpc.lanlanlu.com:9999"
# token = "grpcisawsome"
#
# [GRPC.StandbyServer]
# secure = false
# server = "192.168.1.2:9090"
[[Certifications]]
name = "certFileNameToSave"
savePath = "/path/to/directory/which/saves/your/certifications"
# will save cert and key file at savePath/name.pem and savePath/name.key
domains = [
"*.lanlanlu.com",
"*.mm.lanlanlu.com",
]
# command to reload your services
# reloadCommand = "systemctl reload nginx"
reloadCommand = "bash /opt/acme/reload.sh"
[[Certifications]]
name = "cert2"
savePath = "/path/to/directory/which/saves/your/certifications"
domains = [
"*.lulu.com",
"*.mm.lulu.com",
]
reloadCommand = "bash /opt/acme/reload.sh"