From 469dd1bfd8d82c59277c7457cac9ff0d9b169822 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Tue, 12 May 2020 01:51:52 +0200 Subject: [PATCH] Fix missing letsencrypt settings in wo.conf --- CHANGELOG.md | 1 + install | 6 ++++++ 2 files changed, 7 insertions(+) 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 }