2021-06-07 21:25:12 +03:00
|
|
|
localhost
|
|
|
|
|
|
|
|
respond "hello from localhost"
|
|
|
|
tls {
|
2023-01-09 23:18:12 +03:00
|
|
|
propagation_delay 5m10s
|
|
|
|
propagation_timeout 10m20s
|
2021-06-07 21:25:12 +03:00
|
|
|
}
|
|
|
|
----------
|
|
|
|
{
|
|
|
|
"apps": {
|
|
|
|
"http": {
|
|
|
|
"servers": {
|
|
|
|
"srv0": {
|
|
|
|
"listen": [
|
|
|
|
":443"
|
|
|
|
],
|
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"match": [
|
|
|
|
{
|
|
|
|
"host": [
|
|
|
|
"localhost"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"handle": [
|
|
|
|
{
|
|
|
|
"handler": "subroute",
|
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"handle": [
|
|
|
|
{
|
|
|
|
"body": "hello from localhost",
|
|
|
|
"handler": "static_response"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"terminal": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tls": {
|
|
|
|
"automation": {
|
|
|
|
"policies": [
|
|
|
|
{
|
|
|
|
"subjects": [
|
|
|
|
"localhost"
|
|
|
|
],
|
|
|
|
"issuers": [
|
|
|
|
{
|
|
|
|
"challenges": {
|
|
|
|
"dns": {
|
2022-04-23 01:09:11 +03:00
|
|
|
"propagation_delay": 310000000000,
|
|
|
|
"propagation_timeout": 620000000000
|
2021-06-07 21:25:12 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"module": "acme"
|
2022-04-23 01:09:11 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"challenges": {
|
|
|
|
"dns": {
|
2023-01-09 23:18:12 +03:00
|
|
|
"propagation_delay": 310000000000,
|
|
|
|
"propagation_timeout": 620000000000
|
2022-04-23 01:09:11 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"module": "zerossl"
|
2021-06-07 21:25:12 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|