2020-10-28 21:36:00 -05:00
|
|
|
{
|
|
|
|
local_certs
|
|
|
|
}
|
|
|
|
|
|
|
|
*.tld, *.*.tld {
|
|
|
|
tls {
|
|
|
|
on_demand
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
foo.tld, www.foo.tld {
|
|
|
|
}
|
|
|
|
----------
|
|
|
|
{
|
|
|
|
"apps": {
|
|
|
|
"http": {
|
|
|
|
"servers": {
|
|
|
|
"srv0": {
|
|
|
|
"listen": [
|
|
|
|
":443"
|
|
|
|
],
|
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"match": [
|
|
|
|
{
|
|
|
|
"host": [
|
|
|
|
"foo.tld",
|
|
|
|
"www.foo.tld"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"terminal": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"match": [
|
|
|
|
{
|
|
|
|
"host": [
|
|
|
|
"*.tld",
|
|
|
|
"*.*.tld"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"terminal": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tls": {
|
|
|
|
"automation": {
|
|
|
|
"policies": [
|
|
|
|
{
|
|
|
|
"subjects": [
|
|
|
|
"foo.tld",
|
|
|
|
"www.foo.tld"
|
|
|
|
],
|
2020-11-16 13:05:55 -05:00
|
|
|
"issuers": [
|
|
|
|
{
|
|
|
|
"module": "internal"
|
|
|
|
}
|
|
|
|
]
|
2020-10-28 21:36:00 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"subjects": [
|
|
|
|
"*.*.tld",
|
|
|
|
"*.tld"
|
|
|
|
],
|
2020-11-16 13:05:55 -05:00
|
|
|
"issuers": [
|
|
|
|
{
|
|
|
|
"module": "internal"
|
|
|
|
}
|
|
|
|
],
|
2020-10-28 21:36:00 -05:00
|
|
|
"on_demand": true
|
|
|
|
},
|
|
|
|
{
|
2020-11-16 13:05:55 -05:00
|
|
|
"issuers": [
|
|
|
|
{
|
|
|
|
"module": "internal"
|
|
|
|
}
|
|
|
|
]
|
2020-10-28 21:36:00 -05:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|