add stats options to global
This commit is contained in:
@@ -58,7 +58,6 @@ defaults
|
|||||||
timeout check <%= @hy_timeout_check %>
|
timeout check <%= @hy_timeout_check %>
|
||||||
maxconn <%= @hy_maxconn %>
|
maxconn <%= @hy_maxconn %>
|
||||||
|
|
||||||
<% if @hy_show_stats == true -%>
|
|
||||||
listen stats
|
listen stats
|
||||||
bind 127.0.0.1:8404 # Bind to localhost if only local access is needed
|
bind 127.0.0.1:8404 # Bind to localhost if only local access is needed
|
||||||
mode http
|
mode http
|
||||||
@@ -68,7 +67,6 @@ listen stats
|
|||||||
stats auth local_admin:jSAVu62MV+kr+>R. # Use a strong password
|
stats auth local_admin:jSAVu62MV+kr+>R. # Use a strong password
|
||||||
stats refresh 30s
|
stats refresh 30s
|
||||||
stats admin if TRUE # Allow admin actions if logged in
|
stats admin if TRUE # Allow admin actions if logged in
|
||||||
<% end -%>
|
|
||||||
|
|
||||||
### custom rules below ###
|
### custom rules below ###
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user