2020-05-15 00:53:28 +03:00
|
|
|
{
|
|
|
|
debug
|
|
|
|
http_port 8080
|
|
|
|
https_port 8443
|
2021-05-08 01:18:17 +03:00
|
|
|
grace_period 5s
|
2022-08-03 20:04:51 +03:00
|
|
|
shutdown_delay 10s
|
2020-05-15 00:53:28 +03: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 00:20:38 +03:00
|
|
|
ocsp_stapling off
|
2020-06-12 22:37:56 +03:00
|
|
|
|
2020-05-15 00:53:28 +03: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 01:18:17 +03:00
|
|
|
"grace_period": 5000000000,
|
2022-08-03 20:04:51 +03:00
|
|
|
"shutdown_delay": 10000000000,
|
2020-05-15 00:53:28 +03:00
|
|
|
"servers": {
|
|
|
|
"srv0": {
|
|
|
|
"listen": [
|
|
|
|
":80"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tls": {
|
|
|
|
"automation": {
|
|
|
|
"policies": [
|
|
|
|
{
|
2020-11-16 21:05:55 +03:00
|
|
|
"issuers": [
|
|
|
|
{
|
|
|
|
"module": "internal"
|
|
|
|
}
|
|
|
|
],
|
2022-02-20 00:20:38 +03:00
|
|
|
"key_type": "ed25519",
|
|
|
|
"disable_ocsp_stapling": true
|
2020-05-15 00:53:28 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"on_demand": {
|
2024-01-31 02:11:29 +03:00
|
|
|
"permission": {
|
|
|
|
"endpoint": "https://example.com",
|
|
|
|
"module": "http"
|
|
|
|
},
|
2020-05-15 00:53:28 +03:00
|
|
|
"rate_limit": {
|
|
|
|
"interval": 30000000000,
|
|
|
|
"burst": 20
|
2023-08-09 20:25:59 +03:00
|
|
|
}
|
2020-05-15 00:53:28 +03:00
|
|
|
}
|
2022-02-20 00:20:38 +03:00
|
|
|
},
|
|
|
|
"disable_ocsp_stapling": true
|
2020-05-15 00:53:28 +03:00
|
|
|
}
|
|
|
|
}
|
2020-06-12 22:37:56 +03:00
|
|
|
}
|