updated subst for master SSL settings file

This commit is contained in:
Asif Bacchus 2019-01-05 04:45:02 -07:00
parent 65238832c8
commit d73e8b904f
2 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@
-1,
-1,
-1,
532
537
]
}
]

View File

@ -45,7 +45,7 @@ tag_sslkey="<path/to/your_certificate_private_key.key>"
file_ssl="nginx/snippets/ssl/ssl_certs.conf"
tag_dhparam="<path/to/your_dhparam.pem>"
tag_cachain="<path/to/your_CA_bundle.crt>"
file_mozmodern="nginx/conf.d/mozModern_ssl.conf"
### quick intro for the user
echo -e "\n${mag}This script will customize the provided NGINX template files for your"
@ -536,9 +536,9 @@ sed -i -e "s%${tag_sslcert}%${CertPath}%" "${configPath}/${file_ssl}"
sed -i -e "s%${tag_sslkey}%${KeyPath}%" "${configPath}/${file_ssl}"
# process mozModern SSL configuration
echo "updating SSL configuration parameters file"
echo -e "s%${tag_dhparam}%${DHPath}%" "${configPath}/nginx/conf.d/mozModern_ssl.conf"
echo -e "s%${tag_cachain}%${CAChainPath}%" "${configPath}/nginx/conf.d/mozModern_ssl.conf"
echo "updating ${warn}${configPath}/${file_mozmodern}${norm}"
echo -i -e "s%${tag_dhparam}%${DHPath}%" "${configPath}/${file_mozmodern}"
echo -i -e "s%${tag_cachain}%${CAChainPath}%" "${configPath}/${file_mozmodern}"