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
|
||||
|
||||
installPrerequisities
|
||||
installHttpd
|
||||
installHttpd 443 443 443
|
||||
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"
|
||||
installMailtrain "https://${hostTrusted}" "https://${hostSandbox}" "https://${hostPublic}" 127.0.0.1 true
|
||||
|
@ -211,6 +211,10 @@ EOT
|
|||
|
||||
|
||||
function installHttpd {
|
||||
local portTrusted="$1"
|
||||
local portSandbox="$2"
|
||||
local portPublic="$3"
|
||||
|
||||
case "$hostType" in
|
||||
centos7)
|
||||
yum -y install httpd mod_ssl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue