diff --git a/install b/install index 8f09b4c..9612417 100755 --- a/install +++ b/install @@ -732,7 +732,7 @@ wo_woconf() { 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.4' >>/etc/wo/wo.conf + echo -e '\n[php]\n\nversion = 8.0' >>/etc/wo/wo.conf fi fi } diff --git a/wo/cli/templates/ufw.mustache b/wo/cli/templates/ufw.mustache index f64fc39..bc4b684 100644 --- a/wo/cli/templates/ufw.mustache +++ b/wo/cli/templates/ufw.mustache @@ -46,6 +46,13 @@ wo_ufw_setup() { # wordops backend ufw limit 22222 fi + + # allow proftpd port if installed + if [ -f /etc/proftpd/proftpd.conf ]; then + ufw limit 21 + ufw allow 49000:50000/tcp + fi + # enable ufw if [ -n "$CURRENT_SSH_PORT" ]; then ufw --force enable