2020-05-15 05:53:28 +08:00
|
|
|
{
|
|
|
|
debug
|
|
|
|
http_port 8080
|
|
|
|
https_port 8443
|
2021-05-08 06:18:17 +08:00
|
|
|
grace_period 5s
|
2022-08-04 01:04:51 +08:00
|
|
|
shutdown_delay 10s
|
2020-05-15 05:53:28 +08:00
|
|
|
default_sni localhost
|
|
|
|
order root first
|
|
|
|
storage file_system {
|
|
|
|
root /data
|
|
|
|
}
|
|
|
|
acme_ca https://example.com
|
|
|
|
acme_ca_root /path/to/ca.crt
|
2022-02-20 05:20:38 +08:00
|
|
|
ocsp_stapling off
|
2020-06-13 03:37:56 +08:00
|
|
|
|
2020-05-15 05:53:28 +08:00
|
|
|
email test@example.com
|
|
|
|
admin off
|
|
|
|
on_demand_tls {
|
|
|
|
ask https://example.com
|
|
|
|
interval 30s
|
|
|
|
burst 20
|
|
|
|
}
|
|
|
|
local_certs
|
|
|
|
key_type ed25519
|
|
|
|
}
|
|
|
|
|
|
|
|
:80
|
|
|
|
----------
|
|
|
|
{
|
|
|
|
"admin": {
|
|
|
|
"disabled": true
|
|
|
|
},
|
|
|
|
"logging": {
|
|
|
|
"logs": {
|
|
|
|
"default": {
|
|
|
|
"level": "DEBUG"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"storage": {
|
|
|
|
"module": "file_system",
|
|
|
|
"root": "/data"
|
|
|
|
},
|
|
|
|
"apps": {
|
|
|
|
"http": {
|
|
|
|
"http_port": 8080,
|
|
|
|
"https_port": 8443,
|
2021-05-08 06:18:17 +08:00
|
|
|
"grace_period": 5000000000,
|
2022-08-04 01:04:51 +08:00
|
|
|
"shutdown_delay": 10000000000,
|
2020-05-15 05:53:28 +08:00
|
|
|
"servers": {
|
|
|
|
"srv0": {
|
|
|
|
"listen": [
|
|
|
|
":80"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tls": {
|
|
|
|
"automation": {
|
|
|
|
"policies": [
|
|
|
|
{
|
2020-11-17 02:05:55 +08:00
|
|
|
"issuers": [
|
|
|
|
{
|
|
|
|
"module": "internal"
|
|
|
|
}
|
|
|
|
],
|
2022-02-20 05:20:38 +08:00
|
|
|
"key_type": "ed25519",
|
|
|
|
"disable_ocsp_stapling": true
|
2020-05-15 05:53:28 +08:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"on_demand": {
|
2023-08-10 01:25:59 +08:00
|
|
|
"ask": "https://example.com",
|
2020-05-15 05:53:28 +08:00
|
|
|
"rate_limit": {
|
|
|
|
"interval": 30000000000,
|
|
|
|
"burst": 20
|
2023-08-10 01:25:59 +08:00
|
|
|
}
|
2020-05-15 05:53:28 +08:00
|
|
|
}
|
2022-02-20 05:20:38 +08:00
|
|
|
},
|
|
|
|
"disable_ocsp_stapling": true
|
2020-05-15 05:53:28 +08:00
|
|
|
}
|
|
|
|
}
|
2020-06-13 03:37:56 +08:00
|
|
|
}
|