lets encrypt: email required, remove staging flag

This commit is contained in:
chandi
2024-11-28 13:04:33 +01:00
parent 1a79f73fe3
commit 4afa12bcf2
5 changed files with 16 additions and 21 deletions

View File

@ -18,6 +18,13 @@ if [ -z "$EXTERNAL_IPv4" ]; then
exit 1
fi
if [ "$ENABLE_HTTPS_PROXY" ] && [ -z "$LETSENCRYPT_EMAIL" ]; then
echo "ERROR: LETSENCRYPT_EMAIL is not set in .env"
echo "you need to specify an email adress, otherwise the certificate"
echo "retrieval will fail"
exit 1
fi
function get_tag {
# is submodule checked out?
if [ -f "$1/.git" ]; then