mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-08 16:34:18 -04:00
net/haproxy: fix invalid use of option httplog
This resolves the infamous warning: 'option httplog' not usable with frontend (needs 'mode http')
This commit is contained in:
parent
25c3c1ffab
commit
cf179b19ad
1 changed files with 1 additions and 1 deletions
|
|
@ -1119,7 +1119,7 @@ frontend {{frontend.name}}
|
|||
{% endif %}
|
||||
{% if frontend.logging_detailedLog=='1' %}
|
||||
{# # automatically select the best-suited log type #}
|
||||
{% if frontend.mode == 'tcp' %}
|
||||
{% if frontend.mode == 'tcp' or frontend.mode == 'ssl' %}
|
||||
option tcplog
|
||||
{% else %}
|
||||
option httplog
|
||||
|
|
|
|||
Loading…
Reference in a new issue