Commit e7e2b1ed authored by Gabriel Monnerat's avatar Gabriel Monnerat

remove square brackets because it is not required in stunnel.conf

parent 385e0e80
...@@ -105,7 +105,7 @@ class Recipe(BaseSlapRecipe): ...@@ -105,7 +105,7 @@ class Recipe(BaseSlapRecipe):
service_dict[service_name] = dict(public_ip=varnish_ip, service_dict[service_name] = dict(public_ip=varnish_ip,
public_port=stunnel_port, public_port=stunnel_port,
private_ip=slave_host, private_ip=slave_host.replace("[", "").replace("]", ""),
private_port=slave_port) private_port=slave_port)
rewrite_rule_list.append("%s http://%s:%s" % \ rewrite_rule_list.append("%s http://%s:%s" % \
(reference.replace("-", ""), varnish_ip, base_varnish_port)) (reference.replace("-", ""), varnish_ip, base_varnish_port))
......
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