Files
confdroid_haproxy/templates/haproxy_frontend_rule.erb

18 lines
425 B
Plaintext
Raw Normal View History

2025-01-27 12:36:31 +01:00
<% if @fqdn == @haproxy_fqdn -%>
2018-12-30 15:50:19 +01:00
frontend <%= @frontend_name %>
mode <%= @frontend_mode %>
2018-12-30 16:08:58 +01:00
bind <%= @fe_bind_mode %>
2019-01-07 20:00:18 +01:00
<% if @fe_maxconn != '' -%>
maxconn <%= @fe_maxconn %>
<% end -%>
2025-01-27 14:11:57 +01:00
<% if @acl_rule_front != '' -%>
acl <%= @acl_rule_front %>
2025-01-27 13:42:33 +01:00
<% end -%>
2018-12-30 16:01:29 +01:00
<% if @fe_use_backend != '' -%>
2018-12-30 15:50:19 +01:00
use_backend <%= @fe_use_backend %>
2025-01-27 13:28:27 +01:00
2018-12-30 16:01:29 +01:00
<% else -%>
use_backend <%= @backend_name %>
2025-01-27 13:28:27 +01:00
2025-01-27 14:13:34 +01:00
<% end end -%>