diff --git a/ee/cli/plugins/stack.py b/ee/cli/plugins/stack.py index e8a4015c..482e3176 100644 --- a/ee/cli/plugins/stack.py +++ b/ee/cli/plugins/stack.py @@ -258,8 +258,10 @@ class EEStackController(CementBaseController): # 22222 port settings self.app.log.debug('Writting the nginx configration to' - 'file /etc/nginx/common/22222.conf') - ee_nginx = open('/etc/nginx/common/22222.conf', 'w') + 'file /etc/nginx/sites-available/' + '22222.conf') + ee_nginx = open('/etc/nginx/sites-available/22222.conf', + 'w') self.app.render((data), '22222.mustache', out=ee_nginx) ee_nginx.close()