diff --git a/install b/install index 3f633cf..2d096d8 100755 --- a/install +++ b/install @@ -684,7 +684,7 @@ if [ -x /usr/local/bin/wo ]; then fi if [ -z "$wo_preserve_config" ]; then if [ -n "$(command -v nginx)" ]; then - if ! grep -q "v3.9.5." /etc/nginx/common/release; then + if [ ! -f /etc/nginx/common/release ] || ! grep -q "v3.9.6" /etc/nginx/common/release; then wo_lib_echo "Upgrading Nginx" | tee -ai $wo_install_log wo_upgrade_nginx | tee -ai $wo_install_log fi diff --git a/wo/cli/plugins/site_functions.py b/wo/cli/plugins/site_functions.py index 525f273..8d05d5d 100644 --- a/wo/cli/plugins/site_functions.py +++ b/wo/cli/plugins/site_functions.py @@ -1369,7 +1369,7 @@ def setupLetsEncrypt(self, wo_domain_name, subdomain=False, wildcard=False, "'/etc/letsencrypt/config' " "--issue " "-d {0} {1}" - "-k {3} -f" + "-k {2} -f" .format(wo_domain_name, acme_mode, keylenght))