添加 ssl 插件

This commit is contained in:
apple
2025-10-11 17:50:48 +08:00
parent 6f31504a29
commit 46b20246db
37 changed files with 1646 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#!/usr/bin/env bash
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
trigger-letsencrypt-post-domains-update() {
declare desc="updates cert file when domains are added or set"
declare trigger="post-domains-update"
declare APP="$1" ACTION="$2"
if [[ "$ACTION" == "add" ]] || [[ "$ACTION" == "set" ]]; then
dokku_log_warn "Please run dokku letsencrypt:enable to add https support to the new domain"
fi
}
trigger-letsencrypt-post-domains-update "$@"