I'm using HAProxy for load balancing and would like to make the stats page visible for certain people. I have already configured this to a point where the users must log into the website first and then under the status page of the site will load an iframe of HAProxy's status. However, I am wanting to remove the top portion of the page and just have the server statistics. Is this even possible?

link|improve this question
feedback

1 Answer

You can do this directly in HA Proxy

stats enable
stats auth user:pass
stats uri     /haproxy-status

You can set whatever URI you wish.

You can find full details in

http://haproxy.1wt.eu/download/1.3/doc/configuration.txt

Look near: stats auth :

link|improve this answer
This doesn't really get into modifying the stats page though. It's already enabled and working just fine, but I'm looking to change what is displayed. Their documentation does not really cover that. – kobaltz Dec 16 '11 at 3:52
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.