add stats section to the default configuration.

This commit is contained in:
ajnouri 2017-11-01 02:44:11 +01:00
parent 82572a80de
commit 0661b0ff8c

View File

@ -44,3 +44,12 @@ backend app
server app1 192.168.41.1:80 check
server app2 192.168.41.2:80 check
server app3 192.168.41.3:80 check
#---------------------------------------------------------------------
# Monitoring stats
#---------------------------------------------------------------------
listen stats
bind *:1234
stats enable
stats uri /
stats hide-version