Commit 2bb60142 authored by Jérome Perrin's avatar Jérome Perrin

Revert "erp5/balancer: add entries for direct access to zopes"

This reverts commit b535d46e6f6e06bf8416585cece958284c8eb228.
parent 44c3edf0
......@@ -86,7 +86,7 @@ md5sum = a4dda17c1671ead45ac92b7decc32228
[template-balancer]
filename = instance-balancer.cfg.in
md5sum = d8473ea19d1b363a759d1cad082c16eb
md5sum = 89872075cd2f31d824369447aaf0532f
[template-haproxy-cfg]
filename = haproxy.cfg.in
......
......@@ -142,17 +142,6 @@ ipv6 = {{ zope_address.split(']:')[0][1:] }}
{% endif -%}
{% set ssl_authentication = slapparameter_dict['ssl-authentication-dict'].get(family_name, False) -%}
{% do apache_dict.__setitem__(family_name, (next_port(), external_scheme, internal_scheme ~ '://' ~ ipv4 ~ ':' ~ haproxy_port ~ backend_path, ssl_authentication)) -%}
{# direct access to backend zopes #}
{% for i, zope_family_address in enumerate(zope_family_address_list) %}
{% set external_port = next_port() -%}
{% do apache_dict.__setitem__(
'direct-' ~ family_name ~ '-zope-' ~ i,
( external_port,
external_scheme,
internal_scheme ~ '://' ~ zope_family_address[0] ~ '/VirtualHostBase/' ~ external_scheme ~ '/[' ~ ipv6 ~ ']:' ~ external_port ~ '/VirtualHostRoot/',
ssl_authentication )) -%}
{% endfor -%}
{% endfor -%}
[haproxy-cfg-parameter-dict]
......
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