Browse Source

minor fix

develop
prabuddha 9 years ago
parent
commit
2b31562d0b
  1. 2
      ee/cli/plugins/stack.py

2
ee/cli/plugins/stack.py

@ -260,7 +260,7 @@ class EEStackController(CementBaseController):
http2 =("http2" if EEAptGet.is_installed(self,'nginx-mainline') else "spdy")
if not EEShellExec.cmd_exec(self, "grep -q \'{http2}\' /var/www/{site}/conf/nginx/ssl.conf".format(http2=http2,site=site_name)):
Log.debug(self, 'Setting http2/spdy in ssl.conf')
EEShellExec.cmd_exec(self, "sed -i 's/http2\|spdy/{0}/g' /var/www/{site}/conf/nginx/ssl.conf".format(http2=http2,site=site_name))
EEShellExec.cmd_exec(self, "sed -i 's/http2\|spdy/{http2}/g' /var/www/{site}/conf/nginx/ssl.conf".format(http2=http2,site=site_name))
if not (os.path.isfile('/etc/nginx/common/wpfc.conf')):

Loading…
Cancel
Save