2021-01-04 13:25:29 -05:00
|
|
|
# issue #3953
|
2020-10-28 21:36:00 -05:00
|
|
|
{
|
2021-01-04 13:25:29 -05:00
|
|
|
cert_issuer zerossl api_key
|
2020-10-28 21:36:00 -05:00
|
|
|
}
|
|
|
|
|
2021-01-04 13:25:29 -05:00
|
|
|
example.com {
|
2020-10-28 21:36:00 -05:00
|
|
|
tls {
|
|
|
|
on_demand
|
2021-01-06 14:02:58 -05:00
|
|
|
key_type rsa2048
|
2020-10-28 21:36:00 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-04 13:25:29 -05:00
|
|
|
http://example.net {
|
|
|
|
}
|
|
|
|
|
|
|
|
:1234 {
|
2020-10-28 21:36:00 -05:00
|
|
|
}
|
|
|
|
----------
|
|
|
|
{
|
|
|
|
"apps": {
|
|
|
|
"http": {
|
|
|
|
"servers": {
|
|
|
|
"srv0": {
|
2021-01-04 13:25:29 -05:00
|
|
|
"listen": [
|
|
|
|
":1234"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"srv1": {
|
2020-10-28 21:36:00 -05:00
|
|
|
"listen": [
|
|
|
|
":443"
|
|
|
|
],
|
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"match": [
|
|
|
|
{
|
|
|
|
"host": [
|
2021-01-04 13:25:29 -05:00
|
|
|
"example.com"
|
2020-10-28 21:36:00 -05:00
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"terminal": true
|
2021-01-04 13:25:29 -05:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"srv2": {
|
|
|
|
"listen": [
|
|
|
|
":80"
|
|
|
|
],
|
|
|
|
"routes": [
|
2020-10-28 21:36:00 -05:00
|
|
|
{
|
|
|
|
"match": [
|
|
|
|
{
|
|
|
|
"host": [
|
2021-01-04 13:25:29 -05:00
|
|
|
"example.net"
|
2020-10-28 21:36:00 -05:00
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"terminal": true
|
|
|
|
}
|
2021-01-19 16:21:11 -05:00
|
|
|
]
|
2020-10-28 21:36:00 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tls": {
|
|
|
|
"automation": {
|
|
|
|
"policies": [
|
|
|
|
{
|
|
|
|
"subjects": [
|
2021-01-04 13:25:29 -05:00
|
|
|
"example.com"
|
2020-10-28 21:36:00 -05:00
|
|
|
],
|
2020-11-16 13:05:55 -05:00
|
|
|
"issuers": [
|
|
|
|
{
|
2021-01-04 13:25:29 -05:00
|
|
|
"api_key": "api_key",
|
|
|
|
"module": "zerossl"
|
2020-11-16 13:05:55 -05:00
|
|
|
}
|
|
|
|
],
|
2021-01-06 14:02:58 -05:00
|
|
|
"key_type": "rsa2048",
|
2020-10-28 21:36:00 -05:00
|
|
|
"on_demand": true
|
|
|
|
},
|
|
|
|
{
|
2020-11-16 13:05:55 -05:00
|
|
|
"issuers": [
|
|
|
|
{
|
2021-01-04 13:25:29 -05:00
|
|
|
"api_key": "api_key",
|
|
|
|
"module": "zerossl"
|
2020-11-16 13:05:55 -05:00
|
|
|
}
|
|
|
|
]
|
2020-10-28 21:36:00 -05:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|