This commit is contained in:
parent
f3c19b26b7
commit
0248fb8f11
@ -95,6 +95,10 @@ global
|
|||||||
maxconn 1000
|
maxconn 1000
|
||||||
set-var proc.country str('{{ country }}')
|
set-var proc.country str('{{ country }}')
|
||||||
set-var proc.location str('{{ location }}')
|
set-var proc.location str('{{ location }}')
|
||||||
|
|
||||||
|
# Lua
|
||||||
|
tune.lua.maxmem {{ haproxy.config.lua_max_mem }}
|
||||||
|
tune.lua.bool-sample-conversion normal
|
||||||
lua-prepend-path {{ haproxy.config.dir }}/mods/?.so cpath
|
lua-prepend-path {{ haproxy.config.dir }}/mods/?.so cpath
|
||||||
lua-prepend-path {{ haproxy.config.dir }}/scripts/?.lua
|
lua-prepend-path {{ haproxy.config.dir }}/scripts/?.lua
|
||||||
{%- for script,params in haproxy.config.scripts.items() %}
|
{%- for script,params in haproxy.config.scripts.items() %}
|
||||||
@ -102,6 +106,7 @@ global
|
|||||||
lua-load {{ haproxy.config.dir }}/{{ params.path }} {% if "args" in params.keys() %}{{ params.args|join(" ") }}{% endif %}
|
lua-load {{ haproxy.config.dir }}/{{ params.path }} {% if "args" in params.keys() %}{{ params.args|join(" ") }}{% endif %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
|
||||||
{%- if haproxy.config.api.enable %}
|
{%- if haproxy.config.api.enable %}
|
||||||
{{ api() }}
|
{{ api() }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
@ -114,7 +119,6 @@ global
|
|||||||
ssl-default-server-ciphers {{ haproxy.config.ssl_ciphers|join(":") }}
|
ssl-default-server-ciphers {{ haproxy.config.ssl_ciphers|join(":") }}
|
||||||
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 }}
|
|
||||||
{% if haproxy.config.quic|default(true) %}
|
{% if haproxy.config.quic|default(true) %}
|
||||||
expose-experimental-directives
|
expose-experimental-directives
|
||||||
.if feature(QUIC)
|
.if feature(QUIC)
|
||||||
|
Loading…
Reference in New Issue
Block a user