Skip to content
Snippets Groups Projects
Verified Commit f6d715c7 authored by David Mehren's avatar David Mehren
Browse files

Allow to set log_format per frontend

parent 4c284432
No related branches found
No related tags found
No related merge requests found
Pipeline #164530 failed
...@@ -100,6 +100,10 @@ frontend {{ item.name }} {%if item.ip is defined %}{{ item.ip }}{% endif %}{%if ...@@ -100,6 +100,10 @@ frontend {{ item.name }} {%if item.ip is defined %}{{ item.ip }}{% endif %}{%if
{{ macros.http_response(item.http_response) }} {{ macros.http_response(item.http_response) }}
{%- endif -%} {%- endif -%}
{%- if item.log_format is defined -%}
log-format "{{ item.log_format }}"
{% endif -%}
{%- if item.default_backend is defined -%} {%- if item.default_backend is defined -%}
default_backend {{ item.default_backend }} default_backend {{ item.default_backend }}
{% endif -%} {% endif -%}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment