mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-04 23:13:45 +08:00
57 lines
707 B
Plaintext
57 lines
707 B
Plaintext
|
{
|
||
|
preferred_chains smallest
|
||
|
}
|
||
|
|
||
|
localhost
|
||
|
----------
|
||
|
{
|
||
|
"apps": {
|
||
|
"http": {
|
||
|
"servers": {
|
||
|
"srv0": {
|
||
|
"listen": [
|
||
|
":443"
|
||
|
],
|
||
|
"routes": [
|
||
|
{
|
||
|
"match": [
|
||
|
{
|
||
|
"host": [
|
||
|
"localhost"
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"terminal": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"tls": {
|
||
|
"automation": {
|
||
|
"policies": [
|
||
|
{
|
||
|
"subjects": [
|
||
|
"localhost"
|
||
|
],
|
||
|
"issuers": [
|
||
|
{
|
||
|
"module": "acme",
|
||
|
"preferred_chains": {
|
||
|
"smallest": true
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"module": "zerossl",
|
||
|
"preferred_chains": {
|
||
|
"smallest": true
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|