1
0
mirror of https://github.com/go-acme/lego.git synced 2025-01-20 13:15:32 +02:00

cloudflare: update documentation to specify the unit of time-based options (#2239)

Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
Kyle Julian 2024-08-10 22:36:05 +01:00 committed by GitHub
parent fa7cf5cd4f
commit 24f421463a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 12 deletions

View File

@ -500,10 +500,10 @@ func displayDNSHelp(w io.Writer, name string) error {
ew.writeln() ew.writeln()
ew.writeln(`Additional Configuration:`) ew.writeln(`Additional Configuration:`)
ew.writeln(` - "CLOUDFLARE_HTTP_TIMEOUT": API request timeout`) ew.writeln(` - "CLOUDFLARE_HTTP_TIMEOUT": API request timeout (in seconds)`)
ew.writeln(` - "CLOUDFLARE_POLLING_INTERVAL": Time between DNS propagation check`) ew.writeln(` - "CLOUDFLARE_POLLING_INTERVAL": Time between DNS propagation check (in seconds)`)
ew.writeln(` - "CLOUDFLARE_PROPAGATION_TIMEOUT": Maximum waiting time for DNS propagation`) ew.writeln(` - "CLOUDFLARE_PROPAGATION_TIMEOUT": Maximum waiting time for DNS propagation (in seconds)`)
ew.writeln(` - "CLOUDFLARE_TTL": The TTL of the TXT record used for the DNS challenge`) ew.writeln(` - "CLOUDFLARE_TTL": The TTL of the TXT record used for the DNS challenge (in seconds)`)
ew.writeln() ew.writeln()
ew.writeln(`More information: https://go-acme.github.io/lego/dns/cloudflare`) ew.writeln(`More information: https://go-acme.github.io/lego/dns/cloudflare`)

View File

@ -60,10 +60,10 @@ More information [here]({{< ref "dns#configuration-and-credentials" >}}).
| Environment Variable Name | Description | | Environment Variable Name | Description |
|--------------------------------|-------------| |--------------------------------|-------------|
| `CLOUDFLARE_HTTP_TIMEOUT` | API request timeout | | `CLOUDFLARE_HTTP_TIMEOUT` | API request timeout (in seconds) |
| `CLOUDFLARE_POLLING_INTERVAL` | Time between DNS propagation check | | `CLOUDFLARE_POLLING_INTERVAL` | Time between DNS propagation check (in seconds) |
| `CLOUDFLARE_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation | | `CLOUDFLARE_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation (in seconds) |
| `CLOUDFLARE_TTL` | The TTL of the TXT record used for the DNS challenge | | `CLOUDFLARE_TTL` | The TTL of the TXT record used for the DNS challenge (in seconds) |
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value. The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}). More information [here]({{< ref "dns#configuration-and-credentials" >}}).

View File

@ -68,10 +68,10 @@ It follows the principle of least privilege and limits the possible damage, shou
CLOUDFLARE_DNS_API_TOKEN = "Alias to CF_DNS_API_TOKEN" CLOUDFLARE_DNS_API_TOKEN = "Alias to CF_DNS_API_TOKEN"
CLOUDFLARE_ZONE_API_TOKEN = "Alias to CF_ZONE_API_TOKEN" CLOUDFLARE_ZONE_API_TOKEN = "Alias to CF_ZONE_API_TOKEN"
[Configuration.Additional] [Configuration.Additional]
CLOUDFLARE_POLLING_INTERVAL = "Time between DNS propagation check" CLOUDFLARE_POLLING_INTERVAL = "Time between DNS propagation check (in seconds)"
CLOUDFLARE_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation" CLOUDFLARE_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation (in seconds)"
CLOUDFLARE_TTL = "The TTL of the TXT record used for the DNS challenge" CLOUDFLARE_TTL = "The TTL of the TXT record used for the DNS challenge (in seconds)"
CLOUDFLARE_HTTP_TIMEOUT = "API request timeout" CLOUDFLARE_HTTP_TIMEOUT = "API request timeout (in seconds)"
[Links] [Links]
API = "https://api.cloudflare.com/" API = "https://api.cloudflare.com/"