2023-01-06 22:44:00 +03:00
|
|
|
localhost
|
|
|
|
|
|
|
|
respond "hello from localhost"
|
|
|
|
tls {
|
2023-01-09 23:18:12 +03:00
|
|
|
dns_ttl 5m10s
|
2023-01-06 22:44:00 +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": {
|
|
|
|
"ttl": 310000000000
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"module": "acme"
|
2023-01-09 23:18:12 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"challenges": {
|
|
|
|
"dns": {
|
|
|
|
"ttl": 310000000000
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"module": "zerossl"
|
2023-01-06 22:44:00 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|