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