From b4c271b90b6f6796d4ee1c237ad402e13fb1f1c6 Mon Sep 17 00:00:00 2001 From: harshadyeola Date: Mon, 27 Apr 2015 18:16:38 +0530 Subject: [PATCH] reload nginx after creating proxy site --- ee/cli/plugins/site.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ee/cli/plugins/site.py b/ee/cli/plugins/site.py index 60200705..2b72a3f4 100644 --- a/ee/cli/plugins/site.py +++ b/ee/cli/plugins/site.py @@ -475,6 +475,8 @@ class EESiteCreateController(CementBaseController): if 'proxy' in data.keys() and data['proxy']: addNewSite(self, ee_domain, stype, cache, ee_site_webroot) + # Service Nginx Reload + EEService.reload_service(self, 'nginx') Log.info(self, "Successfully created site" " http://{0}".format(ee_domain)) return