| 1 |
{ |
| 2 |
debug |
| 3 |
http_port 8080 |
| 4 |
https_port 8443 |
| 5 |
default_sni localhost |
| 6 |
order root first |
| 7 |
storage file_system { |
| 8 |
root /data |
| 9 |
} |
| 10 |
acme_ca https://example.com |
| 11 |
acme_eab { |
| 12 |
key_id 4K2scIVbBpNd-78scadB2g |
| 13 |
mac_key abcdefghijklmnopqrstuvwx-abcdefghijklnopqrstuvwxyz12ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefgh |
| 14 |
} |
| 15 |
acme_ca_root /path/to/ca.crt |
| 16 |
email [email protected] |
| 17 |
admin off |
| 18 |
on_demand_tls { |
| 19 |
ask https://example.com |
| 20 |
} |
| 21 |
storage_clean_interval 7d |
| 22 |
renew_interval 1d |
| 23 |
ocsp_interval 2d |
| 24 |
|
| 25 |
key_type ed25519 |
| 26 |
} |
| 27 |
|
| 28 |
:80 |
| 29 |
---------- |
| 30 |
{ |
| 31 |
"admin": { |
| 32 |
"disabled": true |
| 33 |
}, |
| 34 |
"logging": { |
| 35 |
"logs": { |
| 36 |
"default": { |
| 37 |
"level": "DEBUG" |
| 38 |
} |
| 39 |
} |
| 40 |
}, |
| 41 |
"storage": { |
| 42 |
"module": "file_system", |
| 43 |
"root": "/data" |
| 44 |
}, |
| 45 |
"apps": { |
| 46 |
"http": { |
| 47 |
"http_port": 8080, |
| 48 |
"https_port": 8443, |
| 49 |
"servers": { |
| 50 |
"srv0": { |
| 51 |
"listen": [ |
| 52 |
":80" |
| 53 |
] |
| 54 |
} |
| 55 |
} |
| 56 |
}, |
| 57 |
"tls": { |
| 58 |
"automation": { |
| 59 |
"policies": [ |
| 60 |
{ |
| 61 |
"issuers": [ |
| 62 |
{ |
| 63 |
"ca": "https://example.com", |
| 64 |
"challenges": { |
| 65 |
"http": { |
| 66 |
"alternate_port": 8080 |
| 67 |
}, |
| 68 |
"tls-alpn": { |
| 69 |
"alternate_port": 8443 |
| 70 |
} |
| 71 |
}, |
| 72 |
"email": "[email protected]", |
| 73 |
"external_account": { |
| 74 |
"key_id": "4K2scIVbBpNd-78scadB2g", |
| 75 |
"mac_key": "abcdefghijklmnopqrstuvwx-abcdefghijklnopqrstuvwxyz12ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefgh" |
| 76 |
}, |
| 77 |
"module": "acme", |
| 78 |
"trusted_roots_pem_files": [ |
| 79 |
"/path/to/ca.crt" |
| 80 |
] |
| 81 |
} |
| 82 |
], |
| 83 |
"key_type": "ed25519" |
| 84 |
} |
| 85 |
], |
| 86 |
"on_demand": { |
| 87 |
"permission": { |
| 88 |
"endpoint": "https://example.com", |
| 89 |
"module": "http" |
| 90 |
} |
| 91 |
}, |
| 92 |
"ocsp_interval": 172800000000000, |
| 93 |
"renew_interval": 86400000000000, |
| 94 |
"storage_clean_interval": 604800000000000 |
| 95 |
} |
| 96 |
} |
| 97 |
} |
| 98 |
} |