Skip to content

Commit

Permalink
Update web.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptopool-builders committed Nov 17, 2018
1 parent 8fa1077 commit 265665c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if [[ ("$UsingSubDomain" == "y" || "$UsingSubDomain" == "Y" || "$UsingSubDomain"
if [[ ("$InstallSSL" == "y" || "$InstallSSL" == "Y" || "$InstallSSL" == "yes" || "$InstallSSL" == "Yes" || "$InstallSSL" == "YES") ]]; then
echo Installing LetsEncrypt and setting up SSL...
apt_install letsencrypt
hide_output sudo letsencrypt certonly --standalone --staging --webroot-path=$STORAGE_ROOT/nomp/site/ --email "$SupportEmail" --agree-tos -d "$DomainName"
hide_output sudo letsencrypt certonly --standalone --webroot-path=$STORAGE_ROOT/nomp/site/ --email "$SupportEmail" --agree-tos -d "$DomainName"
echo Generating DHPARAM, this may take awhile...
hide_output sudo openssl dhparam -out /etc/ssl/certs/dhparam.pem 2048
fi
Expand All @@ -23,7 +23,7 @@ fi
if [[ ("$InstallSSL" == "y" || "$InstallSSL" == "Y" || "$InstallSSL" == "yes" || "$InstallSSL" == "Yes" || "$InstallSSL" == "YES") ]]; then
echo Installing LetsEncrypt and setting up SSL...
apt_install letsencrypt
hide_output sudo letsencrypt certonly --standalone --staging --webroot-path=$STORAGE_ROOT/yiimp/site/web --email "$SupportEmail" --agree-tos -d "$DomainName" -d www."$DomainName"
hide_output sudo letsencrypt certonly --standalone --webroot-path=$STORAGE_ROOT/yiimp/site/web --email "$SupportEmail" --agree-tos -d "$DomainName" -d www."$DomainName"
echo Generating DHPARAM, this may take awhile...
hide_output sudo openssl dhparam -out /etc/ssl/certs/dhparam.pem 2048
fi
Expand Down

0 comments on commit 265665c

Please sign in to comment.