cpanel.toml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. Name = "CPanel/WHM"
  2. Description = ''''''
  3. URL = "https://cpanel.net/"
  4. Code = "cpanel"
  5. Since = "v4.16.0"
  6. Example = '''
  7. ### CPANEL (default)
  8. CPANEL_USERNAME = "yyyy"
  9. CPANEL_TOKEN = "xxxx"
  10. CPANEL_BASE_URL = "https://example.com:2083" \
  11. lego --email you@example.com --dns cpanel --domains my.example.org run
  12. ## WHM
  13. CPANEL_MODE = whm
  14. CPANEL_USERNAME = "yyyy"
  15. CPANEL_TOKEN = "xxxx"
  16. CPANEL_BASE_URL = "https://example.com:2087" \
  17. lego --email you@example.com --dns cpanel --domains my.example.org run
  18. '''
  19. [Configuration]
  20. [Configuration.Credentials]
  21. CPANEL_USERNAME = "username"
  22. CPANEL_TOKEN = "API token"
  23. CPANEL_BASE_URL = "API server URL"
  24. [Configuration.Additional]
  25. CPANEL_MODE = "use cpanel API or WHM API (Default: cpanel)"
  26. CPANEL_POLLING_INTERVAL = "Time between DNS propagation check"
  27. CPANEL_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation"
  28. CPANEL_TTL = "The TTL of the TXT record used for the DNS challenge"
  29. CPANEL_HTTP_TIMEOUT = "API request timeout"
  30. CPANEL_REGION = "The region"
  31. [Links]
  32. API_CPANEL = "https://api.docs.cpanel.net/cpanel/introduction/"
  33. API_WHM = "https://api.docs.cpanel.net/whm/introduction/"