Haproxy stats page user account

Hi,

I have configured a admin user for accessing our haproxy stats page. But the admin user seems to have rights to disable or kill session of backends and frontends too from the stats page.

So I want to create a non-admin user account who has only read only access to the stats page without disable or killing sessions ability. How to do so ?

see

the magic is the

stats admin if TRUE

line in the config. You can use what ever ACL to set admin mode on or off. in my example it is always on (if TRUE) but you can restrict it to any condition via acl

So, in my case, how do I allow only readonly access to the stats page for non admin users ? I need an example