diff --git a/ee/cli/plugins/site.py b/ee/cli/plugins/site.py index 399198c4..33285a88 100644 --- a/ee/cli/plugins/site.py +++ b/ee/cli/plugins/site.py @@ -1008,6 +1008,10 @@ class EESiteUpdateController(CementBaseController): setupdomain(self, data) if stype == oldsitetype and cache == oldcachetype: + + # Service Nginx Reload + EEService.reload_service(self, 'nginx') + Log.info(self, "Successfully updated site" " http://{0}".format(ee_domain)) self.app.close(0) diff --git a/ee/cli/plugins/site_functions.py b/ee/cli/plugins/site_functions.py index 802805ea..210a78b0 100644 --- a/ee/cli/plugins/site_functions.py +++ b/ee/cli/plugins/site_functions.py @@ -473,6 +473,7 @@ def site_package_check(self, stype): if (os.path.isdir('/etc/nginx') and (not os.path.isfile('/etc/nginx/conf.d/pagespeed.conf'))): # Pagespeed configuration + data = dict() Log.debug(self, 'Writting the Pagespeed Global ' 'configuration to file /etc/nginx/conf.d/' 'pagespeed.conf')