changed certbot path generation check to CertbotDomain vs useCertbot
This commit is contained in:
@@ -271,7 +271,7 @@ if [ "${useCertbot}" -eq 1 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Generate paths from CertbotDomain
|
# Generate paths from CertbotDomain
|
||||||
if [ "${useCertbot}" -eq 1 ]; then
|
if [ "${CertbotDomain}" -eq 1 ]; then
|
||||||
CertPath="/etc/letsencrypt/live/${CertbotDomain}/fullchain.pem"
|
CertPath="/etc/letsencrypt/live/${CertbotDomain}/fullchain.pem"
|
||||||
KeyPath="/etc/letsencrypt/live/${CertbotDomain}/privkey.pem"
|
KeyPath="/etc/letsencrypt/live/${CertbotDomain}/privkey.pem"
|
||||||
CAChainPath="/etc/letsencrypt/live/${CertbotDomain}/chain.pem"
|
CAChainPath="/etc/letsencrypt/live/${CertbotDomain}/chain.pem"
|
||||||
|
|||||||
Reference in New Issue
Block a user