Fixing validity error

This commit is contained in:
2022-11-03 10:53:25 +00:00
parent cf884be97b
commit ab7bf3a1e1

View File

@@ -102,7 +102,7 @@ if [ "$GENERATE_CERTIFICATE" == "true" ]; then
CURL_CHECK="curl -s -o /dev/null -w "%{http_code}" https://$LETSENCRYPT_URL"; CURL_CHECK="curl -s -o /dev/null -w "%{http_code}" https://$LETSENCRYPT_URL";
if [[ "$(eval $CURL_CHECK)" != "200" ]] ; then if [[ "$(eval $CURL_CHECK)" == "200" ]] ; then
file="$DOMAIN_CERT_DIR/letsencrypt" file="$DOMAIN_CERT_DIR/letsencrypt"
{ {