docker-letsencrypt/scripts/auth.sh
2019-12-06 23:29:05 +11:00

3 lines
158 B
Bash
Executable file

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