fix(server/ddns): use variables instead of hardcoded values

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2024-07-12 14:51:18 +02:00
parent 473d1d70f9
commit 8e97008f4d
Signed by: mfocko
SSH key fingerprint: SHA256:icm0fIOSJUpy5+1x23sfr+hLtF9UhY8VpMC7H4WFJP8

View file

@ -2,14 +2,14 @@ period = 300
allow-ipv6 = true allow-ipv6 = true
provider cloudflare.com:1 { provider cloudflare.com:1 {
username = mfocko.xyz username = {{ cloudflare_zone }}
password = {{ cloudflare_token }} password = {{ cloudflare_token }}
hostname = mountainside.mfocko.xyz hostname = {{ host_fqdn }}
} }
provider cloudflare.com:2 { provider cloudflare.com:2 {
username = mfocko.xyz username = {{ cloudflare_zone }}
password = {{ cloudflare_token }} password = {{ cloudflare_token }}
hostname = mountainside.mfocko.xyz hostname = {{ host_fqdn }}
wildcard = true wildcard = true
} }