mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
The URLS file is no longer necessary as urls are now generated directly from the app VHOST file. This also moves all the url generation logic to the domains plugin.
19 lines
351 B
Bash
Executable File
19 lines
351 B
Bash
Executable File
#!/usr/bin/env bash
|
|
source "$PLUGIN_AVAILABLE_PATH/certs/functions"
|
|
set -eo pipefail
|
|
[[ $DOKKU_TRACE ]] && set -x
|
|
|
|
trigger-certs-certs-exists() {
|
|
declare desc="checks if certs exist"
|
|
declare trigger="certs-exists"
|
|
declare APP="$1"
|
|
|
|
if is_ssl_enabled "$APP"; then
|
|
echo "true"
|
|
else
|
|
echo "false"
|
|
fi
|
|
}
|
|
|
|
trigger-certs-certs-exists "$@"
|