diff --git a/CHANGELOG.md b/CHANGELOG.md index 8cad937..ad95fbc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Installation on raspberry pi 4 - Fail2ban configuration when Nginx is not installed - Wo-kernel systemd service start failure +- Fix missing letsencrypt settings in wo.conf ### v3.11.4 - 2020-01-17 diff --git a/install b/install index 951ec10..6ca8f6e 100755 --- a/install +++ b/install @@ -641,6 +641,12 @@ wo_woconf() { if grep -q "log.logging" /etc/wo/wo.conf; then sed -i "s/log.logging/log.colorlog/g" /etc/wo/wo.conf fi + if ! grep -q "letsencrypt" /etc/wo/wo.conf; then + echo -e '\n[letsencrypt]\n\nkeylength = "ec-384"' >>/etc/wo/wo.conf + fi + if ! grep -q "php" /etc/wo/wo.conf; then + echo -e '\n[php]\n\nversion = 7.3' >>/etc/wo/wo.conf + fi fi }