Fix overwriting nginx configuration

This commit is contained in:
VirtuBox
2024-06-08 16:04:57 +02:00
parent e02fb864ad
commit 0235fe5920
2 changed files with 2 additions and 2 deletions

View File

@@ -126,7 +126,7 @@ def post_pref(self, apt_packages, packages, upgrade=False):
data = dict(tls13=True, release=WOVar.wo_version)
WOTemplate.deploy(self,
'/etc/nginx/nginx.conf',
'nginx-core.mustache', data)
'nginx-core.mustache', data, overwrite=True)
if not os.path.isfile('{0}/gzip.conf.disabled'.format(ngxcnf)):
data = dict(release=WOVar.wo_version)