OP#669 remove unwanted onio-api fw rule
This commit is contained in:
@@ -7,10 +7,6 @@ global
|
||||
log <%= @hy_log_local1 %>
|
||||
<% if @hy_hard_stop == true -%>
|
||||
hard-stop-after <%= @hy_hard_stop_value %>
|
||||
<% end -%>
|
||||
<% if @hy_show_stats == true -%>
|
||||
stats socket /var/lib/haproxy/stats
|
||||
stats timeout 30s
|
||||
<% end -%>
|
||||
chroot <%= @hy_chroot %>
|
||||
pidfile <%= @hy_pid %>
|
||||
@@ -54,8 +50,9 @@ defaults
|
||||
timeout check <%= @hy_timeout_check %>
|
||||
maxconn <%= @hy_maxconn %>
|
||||
|
||||
<% if @hy_show_stats == true -%>
|
||||
listen stats
|
||||
bind 127.0.0.1:8404 # Bind to localhost if only local access is needed #
|
||||
bind *:8404
|
||||
mode http
|
||||
stats enable
|
||||
stats uri /haproxy?stats
|
||||
@@ -63,6 +60,8 @@ listen stats
|
||||
stats auth <%= @hy_stats_auth %>
|
||||
stats refresh 30s
|
||||
stats admin if TRUE # Allow admin actions if logged in
|
||||
<% end -%>
|
||||
listen stats
|
||||
|
||||
<% if @hy_manage_be_users == true -%>
|
||||
<%= @hy_be_userlist %>
|
||||
|
||||
Reference in New Issue
Block a user