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',