add cloudflare and documentation

This commit is contained in:
2025-12-22 23:25:06 +01:00
parent fbc8bcd089
commit 4590d46e17
17 changed files with 427 additions and 5 deletions

22
config.example.json Normal file
View File

@@ -0,0 +1,22 @@
{
"SafeLine": {
"Host": {
"HostName": "127.0.0.1",
"Port": "1443"
},
"ApiToken": "<YOUR_SAFELINE_API_TOKEN>"
},
"ApplyCert": {
"Days": 30,
"Email": "you@example.com",
"SavePath": "./ssl",
"DNSProviderConfig": {
"DNSProvider": "Cloudflare",
"Cloudflare": {
"APIToken": "<YOUR_CLOUDFLARE_API_TOKEN>",
"APIKey": "<GLOBAL_API_KEY_OPTIONAL>",
"Email": "you@cloudflare-account.com"
}
}
}
}