2020-04-29 09:02:09 +03:00
|
|
|
{
|
2020-08-17 10:23:08 +03:00
|
|
|
"apps": {
|
|
|
|
"http": {
|
|
|
|
"servers": {
|
|
|
|
"srv0": {
|
|
|
|
"listen": [
|
|
|
|
":443"
|
|
|
|
],
|
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"handle": [
|
|
|
|
{
|
|
|
|
"handler": "forward_proxy",
|
|
|
|
"hide_ip": true,
|
|
|
|
"hide_via": true,
|
|
|
|
"auth_user": "",
|
|
|
|
"auth_pass": "",
|
|
|
|
"probe_resistance": {
|
|
|
|
"domain": ""
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"match": [
|
|
|
|
{
|
|
|
|
"host": [
|
|
|
|
""
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"handle": [
|
|
|
|
{
|
|
|
|
"handler": "file_server",
|
|
|
|
"root": "/usr/share/caddy"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"terminal": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tls_connection_policies": [
|
|
|
|
{
|
|
|
|
"match": {
|
|
|
|
"sni": [
|
|
|
|
""
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tls": {
|
|
|
|
"automation": {
|
|
|
|
"policies": [
|
|
|
|
{
|
|
|
|
"subjects": [
|
|
|
|
""
|
|
|
|
],
|
|
|
|
"issuer": {
|
|
|
|
"email": "",
|
|
|
|
"module": "acme"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-04-29 09:02:09 +03:00
|
|
|
}
|