Fix missing letsencrypt settings in wo.conf
This commit is contained in:
@@ -34,6 +34,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||||||
- Installation on raspberry pi 4
|
- Installation on raspberry pi 4
|
||||||
- Fail2ban configuration when Nginx is not installed
|
- Fail2ban configuration when Nginx is not installed
|
||||||
- Wo-kernel systemd service start failure
|
- Wo-kernel systemd service start failure
|
||||||
|
- Fix missing letsencrypt settings in wo.conf
|
||||||
|
|
||||||
### v3.11.4 - 2020-01-17
|
### v3.11.4 - 2020-01-17
|
||||||
|
|
||||||
|
|||||||
6
install
6
install
@@ -641,6 +641,12 @@ wo_woconf() {
|
|||||||
if grep -q "log.logging" /etc/wo/wo.conf; then
|
if grep -q "log.logging" /etc/wo/wo.conf; then
|
||||||
sed -i "s/log.logging/log.colorlog/g" /etc/wo/wo.conf
|
sed -i "s/log.logging/log.colorlog/g" /etc/wo/wo.conf
|
||||||
fi
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user