From 7ea4219ee7fe2e918fc6aef45dc2a3090461c4ba Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Wed, 17 Apr 2019 04:24:44 +0200 Subject: [PATCH] fix hsts for html sites --- CHANGELOG.md | 2 +- wo/cli/plugins/site.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d71a0dc..2c0ad9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,7 +40,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Increase MySQL root password size to 16 characters - Increase MySQL users password size to 16 characters - Nginx locations template is the same for php7.2 & 7.3 -- refactor install script - backend SSL configuration now stored in /var/www/22222/conf/nginx/ssl.conf #### Fixed @@ -58,6 +57,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - fix command "wo info" - phpmyadmin install with composer - command "wo clean --memcached" +- phpredisadmin setup ### v3.9.4 - 2019-03-15 diff --git a/wo/cli/plugins/site.py b/wo/cli/plugins/site.py index f96642f..e69c4a3 100644 --- a/wo/cli/plugins/site.py +++ b/wo/cli/plugins/site.py @@ -908,7 +908,7 @@ class WOSiteUpdateController(CementBaseController): (stype == 'wpsubdir' and oldsitetype in ['wpsubdomain']) or (stype == 'wpsubdomain' and oldsitetype in ['wpsubdir']) or (stype == oldsitetype and cache == oldcachetype) and - not pargs.php73): + not pargs.php73 or pargs.hsts): Log.info(self, Log.FAIL + "can not update {0} {1} to {2} {3}". format(oldsitetype, oldcachetype, stype, cache)) return 1