updated subst for master SSL settings file
This commit is contained in:
parent
65238832c8
commit
d73e8b904f
2
.vscode/numbered-bookmarks.json
vendored
2
.vscode/numbered-bookmarks.json
vendored
@ -12,7 +12,7 @@
|
|||||||
-1,
|
-1,
|
||||||
-1,
|
-1,
|
||||||
-1,
|
-1,
|
||||||
532
|
537
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
8
setup.sh
8
setup.sh
@ -45,7 +45,7 @@ tag_sslkey="<path/to/your_certificate_private_key.key>"
|
|||||||
file_ssl="nginx/snippets/ssl/ssl_certs.conf"
|
file_ssl="nginx/snippets/ssl/ssl_certs.conf"
|
||||||
tag_dhparam="<path/to/your_dhparam.pem>"
|
tag_dhparam="<path/to/your_dhparam.pem>"
|
||||||
tag_cachain="<path/to/your_CA_bundle.crt>"
|
tag_cachain="<path/to/your_CA_bundle.crt>"
|
||||||
|
file_mozmodern="nginx/conf.d/mozModern_ssl.conf"
|
||||||
|
|
||||||
### quick intro for the user
|
### quick intro for the user
|
||||||
echo -e "\n${mag}This script will customize the provided NGINX template files for your"
|
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}"
|
sed -i -e "s%${tag_sslkey}%${KeyPath}%" "${configPath}/${file_ssl}"
|
||||||
|
|
||||||
# process mozModern SSL configuration
|
# process mozModern SSL configuration
|
||||||
echo "updating SSL configuration parameters file"
|
echo "updating ${warn}${configPath}/${file_mozmodern}${norm}"
|
||||||
echo -e "s%${tag_dhparam}%${DHPath}%" "${configPath}/nginx/conf.d/mozModern_ssl.conf"
|
echo -i -e "s%${tag_dhparam}%${DHPath}%" "${configPath}/${file_mozmodern}"
|
||||||
echo -e "s%${tag_cachain}%${CAChainPath}%" "${configPath}/nginx/conf.d/mozModern_ssl.conf"
|
echo -i -e "s%${tag_cachain}%${CAChainPath}%" "${configPath}/${file_mozmodern}"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user