From ccc2b5d7f129687f2413af0b9196a869736883de Mon Sep 17 00:00:00 2001 From: harshadyeola Date: Wed, 15 Apr 2015 18:50:25 +0530 Subject: [PATCH] setup conf/nginx directories while creating site --- ee/cli/plugins/site_functions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ee/cli/plugins/site_functions.py b/ee/cli/plugins/site_functions.py index 64e07776..f22acf7f 100644 --- a/ee/cli/plugins/site_functions.py +++ b/ee/cli/plugins/site_functions.py @@ -89,6 +89,8 @@ def setupdomain(self, data): os.makedirs('{0}/htdocs'.format(ee_site_webroot)) if not os.path.exists('{0}/logs'.format(ee_site_webroot)): os.makedirs('{0}/logs'.format(ee_site_webroot)) + if not os.path.exists('{0}/conf/nginx'.format(ee_site_webroot)): + os.makedirs('{0}/conf/nginx'.format(ee_site_webroot)) EEFileUtils.create_symlink(self, ['/var/log/nginx/{0}.access.log' .format(ee_domain_name),