change CertbotDomain path generate to string test
This commit is contained in:
parent
7c45a84d69
commit
7fdd38d3e4
2
setup.sh
2
setup.sh
@ -289,7 +289,7 @@ if [ "${useCertbot}" -eq 1 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Generate paths from CertbotDomain
|
# Generate paths from CertbotDomain
|
||||||
if [ "${CertbotDomain}" -eq 1 ]; then
|
if [ -n "${CertbotDomain}" ]; 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"
|
||||||
|
Loading…
Reference in New Issue
Block a user