move TLS var case-correction after reading params
This commit is contained in:
parent
200bfd7ad6
commit
d2ffebd925
@ -93,6 +93,11 @@ checkExist 'file' './ab-nginx.params'
|
|||||||
# read .params file
|
# read .params file
|
||||||
. ./ab-nginx.params
|
. ./ab-nginx.params
|
||||||
|
|
||||||
|
# fix case of TLS13_ONLY var
|
||||||
|
if [ "$TLS13_ONLY" ]; then
|
||||||
|
TLS13_ONLY=$( echo "$TLS13_ONLY" | tr "[:lower:]" "[:upper:]" )
|
||||||
|
fi
|
||||||
|
|
||||||
# check for certs if using SSL
|
# check for certs if using SSL
|
||||||
checkExist 'file' "$SSL_CERT"
|
checkExist 'file' "$SSL_CERT"
|
||||||
checkExist 'file' "$SSL_KEY"
|
checkExist 'file' "$SSL_KEY"
|
||||||
|
Loading…
Reference in New Issue
Block a user