Dynu_Duckdns_ssl/scripts/auth.sh
2025-02-19 21:19:29 +08:00

3 lines
158 B
Bash
Executable file

#!/bin/sh
[[ "$(curl -s "https://www.duckdns.org/update?domains=${DUCKDNS_DOMAIN%.duckdns.org}&token=${DUCKDNS_TOKEN}&txt=${CERTBOT_VALIDATION}")" = "OK" ]]