docs/content/dns/zz_gen_gravity.md
Configuration for Gravity.
<!--more-->gravityHere is an example bash command using the Gravity provider:
GRAVITY_SERVER_URL="https://example.org:1234" \
GRAVITY_USERNAME="xxxxxxxxxxxxxxxxxxxxx" \
GRAVITY_PASSWORD="yyyyyyyyyyyyyyyyyyyyy" \
lego --dns gravity -d '*.example.com' -d example.com run
| Environment Variable Name | Description |
|---|---|
GRAVITY_PASSWORD | Password |
GRAVITY_SERVER_URL | URL of the server |
GRAVITY_USERNAME | Username |
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" %}}).
| Environment Variable Name | Description |
|---|---|
GRAVITY_HTTP_TIMEOUT | API request timeout in seconds (Default: 30) |
GRAVITY_POLLING_INTERVAL | Time between DNS propagation check in seconds (Default: 2) |
GRAVITY_PROPAGATION_TIMEOUT | Maximum waiting time for DNS propagation in seconds (Default: 60) |
GRAVITY_SEQUENCE_INTERVAL | Time between sequential requests in seconds (Default: 1) |
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" %}}).