Updates in install scripts
This commit is contained in:
parent
0aa47cae63
commit
b873915b93
1 changed files with 5 additions and 1 deletions
|
@ -81,7 +81,7 @@ EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
installPrerequisities
|
installPrerequisities
|
||||||
installHttpd
|
installHttpd 443 443 443
|
||||||
createCertificates "${hostTrusted}" "${hostSandbox}" "${hostPublic}" "${email}"
|
createCertificates "${hostTrusted}" "${hostSandbox}" "${hostPublic}" "${email}"
|
||||||
installHttpsProxy "${hostTrusted}" 443 "${hostSandbox}" 443 "${hostPublic}" 443 "/etc/letsencrypt/live/${hostPublic}/cert.pem" "/etc/letsencrypt/live/${hostPublic}/privkey.pem" "/etc/letsencrypt/live/${hostPublic}/chain.pem"
|
installHttpsProxy "${hostTrusted}" 443 "${hostSandbox}" 443 "${hostPublic}" 443 "/etc/letsencrypt/live/${hostPublic}/cert.pem" "/etc/letsencrypt/live/${hostPublic}/privkey.pem" "/etc/letsencrypt/live/${hostPublic}/chain.pem"
|
||||||
installMailtrain "https://${hostTrusted}" "https://${hostSandbox}" "https://${hostPublic}" 127.0.0.1 true
|
installMailtrain "https://${hostTrusted}" "https://${hostSandbox}" "https://${hostPublic}" 127.0.0.1 true
|
||||||
|
@ -211,6 +211,10 @@ EOT
|
||||||
|
|
||||||
|
|
||||||
function installHttpd {
|
function installHttpd {
|
||||||
|
local portTrusted="$1"
|
||||||
|
local portSandbox="$2"
|
||||||
|
local portPublic="$3"
|
||||||
|
|
||||||
case "$hostType" in
|
case "$hostType" in
|
||||||
centos7)
|
centos7)
|
||||||
yum -y install httpd mod_ssl
|
yum -y install httpd mod_ssl
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue