fix hsts for html sites

This commit is contained in:
VirtuBox
2019-04-17 04:24:44 +02:00
parent c2a19048ef
commit 7ea4219ee7
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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