This package contains a DNS provider module for Caddy. It can be used to manage DNS records with api.pph.sh.
dns.providers.pphTo use this module for the ACME DNS challenge, configure the ACME issuer in your Caddy JSON like so:
{
"module": "acme",
"challenges": {
"dns": {
"propagation_delay": "15s",
"provider": {
"name": "pph",
"api_token": "YOUR_PROVIDER_API_TOKEN"
}
}
}
}or with the Caddyfile:
# global configuration
{
acme_dns pph {env.YOUR_PPH_AUTH_API_TOKEN}
}# per site configuration
your.domain.com {
respond "Hello World"
tls {
dns pph {env.YOUR_PPH_AUTH_API_TOKEN}
propagation_delay 15s
}
}