blob: 0bc0ea9112e803b40c81c9aa078741f2a3b75328 [file] [log] [blame]
{
"apps": {
"http": {
"servers": {
"srv0": {
"listen": [
":80",
":443"
],
"routes": [
{
"match": [
{
"host": [
"{{.Hostname}}"
]
}
],
"handle": [
{
"handler": "subroute",
"routes": [
{
"handle": [
{
"body": "Hello!",
"handler": "static_response"
}
]
}
]
}
],
"terminal": true
}
]
}
}
},
"tls": {
"automation": {
"policies": [
{
"subjects": [
"{{.Hostname}}"
],
"issuers": [
{
"ca": "{{.Directory}}",
"module": "acme",
"challenges": {
"http": {
"disabled": true
}
},
"trusted_roots_pem_files": [
"{{.CACert}}"
]
}
]
}
]
}
}
}
}