|
|
@ -204,6 +204,10 @@ class EEStackController(CementBaseController): |
|
|
|
if set(EEVariables.ee_nginx).issubset(set(apt_packages)): |
|
|
|
if not (os.path.isfile('/etc/nginx/common/wpfc.conf')): |
|
|
|
# Change EasyEngine Version in nginx.conf file |
|
|
|
EEFileUtils.searchreplace(self, "/etc/nginx/nginx.conf", |
|
|
|
"\"# add_header\"", |
|
|
|
"\"add_header\"") |
|
|
|
|
|
|
|
EEFileUtils.searchreplace(self, "/etc/nginx/nginx.conf", |
|
|
|
"\"EasyEngine\"", |
|
|
|
"\"EasyEngine {0}\"" |
|
|
|