updated haproxy state
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2024-03-20 09:05:38 +01:00
parent edcdada678
commit e7229ae189

View File

@ -81,7 +81,6 @@ backend admin from {{ haproxy.config.namespace }}
{%- endmacro %} {%- endmacro %}
{%- macro geoip() %} {%- macro geoip() %}
# GeoIP
http-request set-var(txn.country) lua.country(req.src) http-request set-var(txn.country) lua.country(req.src)
http-request return status 200 content-type "text/html; charset=utf-8" lf-string "<html><body><p>ip: %[var(req.src)]</p><p>country: %[lua.country(req.src)]</p><p>city: %[lua.city(req.src)]<p></body></html>" if self_host path_location http-request return status 200 content-type "text/html; charset=utf-8" lf-string "<html><body><p>ip: %[var(req.src)]</p><p>country: %[lua.country(req.src)]</p><p>city: %[lua.city(req.src)]<p></body></html>" if self_host path_location
acl allowed_country var(txn.country),map_str(/etc/haproxy/maps/countries,OK) OK 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(" ") }} ssl-default-server-options {{ haproxy.config.ssl_options|join(" ") }}
tune.lua.maxmem {{ haproxy.config.lua_max_mem }} tune.lua.maxmem {{ haproxy.config.lua_max_mem }}
{% if haproxy.config.quic|default(true) %} {% if haproxy.config.quic|default(true) %}
expose-experimental-directives expose-experimental-directives
.if feature(QUIC) .if feature(QUIC)