Container para emitir Certificados Let's Encrypt, com o Dehydrated
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
#set -x
|
|
|
|
|
|
|
|
if [ "${LE_ENV}" == 'production' ]; then
|
|
|
|
sed -i 's@CA=.*@CA="https://acme-v01.api.letsencrypt.org/directory"@g' /etc/dehydrated/config
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo "${@}"
|
|
|
|
exec "${@}"
|