mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-02 13:59:50 +08:00
99ffe93388
Fix #4859
79 lines
1009 B
Plaintext
79 lines
1009 B
Plaintext
one.example.com {
|
|
log
|
|
}
|
|
|
|
two.example.com {
|
|
}
|
|
|
|
three.example.com {
|
|
}
|
|
|
|
example.com {
|
|
}
|
|
----------
|
|
{
|
|
"apps": {
|
|
"http": {
|
|
"servers": {
|
|
"srv0": {
|
|
"listen": [
|
|
":443"
|
|
],
|
|
"routes": [
|
|
{
|
|
"match": [
|
|
{
|
|
"host": [
|
|
"three.example.com"
|
|
]
|
|
}
|
|
],
|
|
"terminal": true
|
|
},
|
|
{
|
|
"match": [
|
|
{
|
|
"host": [
|
|
"one.example.com"
|
|
]
|
|
}
|
|
],
|
|
"terminal": true
|
|
},
|
|
{
|
|
"match": [
|
|
{
|
|
"host": [
|
|
"two.example.com"
|
|
]
|
|
}
|
|
],
|
|
"terminal": true
|
|
},
|
|
{
|
|
"match": [
|
|
{
|
|
"host": [
|
|
"example.com"
|
|
]
|
|
}
|
|
],
|
|
"terminal": true
|
|
}
|
|
],
|
|
"logs": {
|
|
"logger_names": {
|
|
"one.example.com": ""
|
|
},
|
|
"skip_hosts": [
|
|
"three.example.com",
|
|
"two.example.com",
|
|
"example.com"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|