diff --git a/states/haproxy/templates/haproxy.cfg.j2 b/states/haproxy/templates/haproxy.cfg.j2 index c38cfdf..d7b8caf 100644 --- a/states/haproxy/templates/haproxy.cfg.j2 +++ b/states/haproxy/templates/haproxy.cfg.j2 @@ -81,7 +81,6 @@ backend admin from {{ haproxy.config.namespace }} {%- endmacro %} {%- macro geoip() %} -# GeoIP http-request set-var(txn.country) lua.country(req.src) http-request return status 200 content-type "text/html; charset=utf-8" lf-string "

ip: %[var(req.src)]

country: %[lua.country(req.src)]

city: %[lua.city(req.src)]

" if self_host path_location acl allowed_country var(txn.country),map_str(/etc/haproxy/maps/countries,OK) OK @@ -114,7 +113,6 @@ global ssl-default-server-options {{ haproxy.config.ssl_options|join(" ") }} tune.lua.maxmem {{ haproxy.config.lua_max_mem }} - {% if haproxy.config.quic|default(true) %} expose-experimental-directives .if feature(QUIC)