Commit f03c0662 authored by Mika Pflüger's avatar Mika Pflüger
Browse files

more explicit overriding of ports in vhost_filter, for better readability and python 3.4 compat

parent a323ccb6
......@@ -464,7 +464,9 @@ MDomain "{domain}"
if chunk['https']:
res += self.template_vhost_ssl.format(**chunk)
if chunk['port'] == 443:
res += self.template_vhost.format(**{**chunk, 'port': 80})
nchunk = chunk.copy()
res += self.template_vhost.format(**nchunk)
res += self.template_vhost.format(**chunk)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment