Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

HAProxy Stats over HTTPS only

$
0
0

@rw75 wrote:

hi,

Absolutely new to HAProxy and I am trying to get the HAProxy stats over https. As a matter of fact I want HAProxy stats to be accessible 'only' over https. Can anyone give me some pointers? The current config is shown below and works well on port 8888 but I need it over SSL. I have created the .pem certificate too

listen mariadb_cluster_writes 0.0.0.0:12206
## A failover pool for writes to ensure writes only hit one node at a time. 
        mode tcp
        option httpchk 
        server node_1 192.168.xxx.xxx:3306 check port 9200
        server node_2 192.168.xxx.xxx:3306 check port 9200 backup 
        server node_3 192.168.xxx.xxx:3306 check port 9200 backup

listen mariadb_cluster_reads 0.0.0.0:12208
## A load-balanced pool for reads to utilize all nodes for reads.
        mode tcp
        balance leastconn 
        option httpchk
	server node_1 192.168.xxx.xxx:3306 check port 9200
        server node_2 192.168.xxx.xxx:3306 check port 9200
        server node_3 192.168.xxx.xxx:3306 check port 9200

listen stats 0.0.0.0:8888
## HAProxy stats web gui.
	mode http
	stats enable
	stats hide-version
	stats uri /haproxy_stats
	stats realm HAProxy\ Statistics 
	stats auth haproxy:haproxy
	stats admin if TRUE

Thanks,
R.W

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>