Address issue #319

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

View File

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