Address issue #319 - again, not standardlize yet for the release

This commit is contained in:
Argus Duong
2020-10-13 23:54:11 +07:00
parent e2dc4bdc27
commit e163bc7717
4 changed files with 52 additions and 12 deletions

View File

@@ -221,8 +221,11 @@ def post_pref(self, apt_packages, packages, upgrade=False):
'stub_status.mustache', data)
data = dict(release=WOVar.wo_version)
WOTemplate.deploy(
self, '{0}/image_suffix.conf'.format(ngxcnf),
'image_suffix.mustache', data, overwrite=False)
self, '{0}/webp.conf'.format(ngxcnf),
'webp.mustache', data, overwrite=False)
WOTemplate.deploy(
self, '{0}/avif.conf'.format(ngxcnf),
'avif.mustache', data, overwrite=False)
WOTemplate.deploy(
self, '{0}/cloudflare.conf'.format(ngxcnf),