On Mon, Dec 29, 2014 at 11:00 AM, Yosef Amir <[email protected]> wrote:
> Hi ,
> I would like to configure stats in haproxy.config file.
> For http is working great.
> How can I configure the HAProxy stats to use HTTPS ? Does it supported?
> My current lab configuration for stats is :
>
> listen stats :8050
>         mode http
>         stats admin if TRUE # LOCALHOST
>         stats show-legends
>         stats uri /admin?stats #default is "/haproxy?stats"
>         stats refresh 5s
>         stats realm HAProxy\ Statistics #the "\ " sign stands for space
>         userlist stats-auth
>         group readonly users haproxy
>         user  haproxy  insecure-password haproxy
>
> Thanks
> Amir Yosef
>
>
>   ________________________________
> "This e-mail message may contain confidential, commercial or privileged
> information that constitutes proprietary information of Comverse Inc. or its
> subsidiaries. If you are not the intended recipient of this message, you are
> hereby notified that any review, use or distribution of this information is
> absolutely prohibited and we request that you delete all copies and contact
> us by e-mailing to: [email protected]. Thank You."


Hi Yosef,

You can simply bind the port using SSL and point to your certificate:

   listen stats
         bind :8050 ssl crt /path/to/crt
  [...]

Baptiste

Reply via email to