From e82aad206964310046de5c3b2ff123a615744245 Mon Sep 17 00:00:00 2001 From: Prabuddha Chakraborty Date: Mon, 22 Feb 2016 11:25:50 +0530 Subject: [PATCH] Fix wpcommon-php7.conf --- ee/cli/plugins/stack.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/ee/cli/plugins/stack.py b/ee/cli/plugins/stack.py index 7b7a81f8..d6ca3fe2 100644 --- a/ee/cli/plugins/stack.py +++ b/ee/cli/plugins/stack.py @@ -398,6 +398,14 @@ class EEStackController(CementBaseController): self.app.render((data), 'w3tc-php7.mustache', out=ee_nginx) ee_nginx.close() + Log.debug(self, 'Writting the nginx configuration to ' + 'file /etc/nginx/common/wpcommon.conf') + ee_nginx = open('/etc/nginx/common/wpcommon-php7.conf', + encoding='utf-8', mode='w') + self.app.render((data), 'wpcommon-php7.mustache', + out=ee_nginx) + ee_nginx.close() + Log.debug(self, 'Writting the nginx configuration to ' 'file /etc/nginx/common/wpfc-php7.conf') ee_nginx = open('/etc/nginx/common/wpfc-php7.conf', @@ -642,6 +650,14 @@ class EEStackController(CementBaseController): self.app.render((data), 'w3tc-php7.mustache', out=ee_nginx) ee_nginx.close() + Log.debug(self, 'Writting the nginx configuration to ' + 'file /etc/nginx/common/wpcommon.conf') + ee_nginx = open('/etc/nginx/common/wpcommon-php7.conf', + encoding='utf-8', mode='w') + self.app.render((data), 'wpcommon-php7.mustache', + out=ee_nginx) + ee_nginx.close() + Log.debug(self, 'Writting the nginx configuration to ' 'file /etc/nginx/common/wpfc-php7.conf') ee_nginx = open('/etc/nginx/common/wpfc-php7.conf',