Skip to content

Instantly share code, notes, and snippets.

@Nepherte
Last active April 3, 2024 02:30
Show Gist options
  • Save Nepherte/134d40909314fb60bcac96c0df0fa40e to your computer and use it in GitHub Desktop.
Save Nepherte/134d40909314fb60bcac96c0df0fa40e to your computer and use it in GitHub Desktop.
Let's Encrypt hook to deploy an SSL certificate to a UniFi Controller.
#!/bin/sh
set -e
for domain in $RENEWED_DOMAINS; do
case $domain in
ui.nepherte.com)
/usr/local/bin/ui-import-ssl.sh
;;
esac
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment