Apache frontend : Typo

parent 43d3c4f9
...@@ -100,7 +100,7 @@ class Recipe(BaseSlapRecipe): ...@@ -100,7 +100,7 @@ class Recipe(BaseSlapRecipe):
if slave_instance.get("enable_cache", "").upper() in ('1', 'TRUE'): if slave_instance.get("enable_cache", "").upper() in ('1', 'TRUE'):
# XXX-Cedric : need to refactor to clean code? (to many variables) # XXX-Cedric : need to refactor to clean code? (to many variables)
rewrite_rule = self.configureVarnishSlave( rewrite_rule = self.configureVarnishSlave(
base_varnish_port, backend_url, reference, domain) base_varnish_port, backend_url, reference, service_dict, domain)
base_varnish_port += 2 base_varnish_port += 2
else: else:
rewrite_rule = "%s %s" % (domain, backend_url) rewrite_rule = "%s %s" % (domain, backend_url)
...@@ -133,7 +133,7 @@ class Recipe(BaseSlapRecipe): ...@@ -133,7 +133,7 @@ class Recipe(BaseSlapRecipe):
stunnel_key, stunnel_certificate = \ stunnel_key, stunnel_certificate = \
self.requestCertificate(frontend_domain_name) self.requestCertificate(frontend_domain_name)
else: else:
stunnel_key, stunnet_certificate = key, certificate stunnel_key, stunnel_certificate = key, certificate
self.installStunnel(service_dict, self.installStunnel(service_dict,
stunnel_certificate, stunnel_key, stunnel_certificate, stunnel_key,
ca_conf["ca_crl"], ca_conf["ca_crl"],
......
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