Commit bf12f136 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

Fix ugly port call in recipe

parent 7fa66e0b
......@@ -395,14 +395,14 @@ class Recipe(BaseSlapRecipe):
)
apache_conf["listen"] = "\n".join([
"Listen %s:%s" % (ip, port)
for port in (plain_http_port, port)
"Listen %s:%s" % (ip, tmp_port)
for tmp_port in (plain_http_port, port)
for ip in ip_list
])
apache_conf["listen_cache"] = "\n".join([
"Listen %s:%s" % (ip, port)
for port in (cached_port,)
"Listen %s:%s" % (ip, tmp_port)
for tmp_port in (cached_port,)
for ip in ip_list
])
......
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