# Rancher Integration with haproxy

**URL:** <https://forums.suse.com/t/rancher-integration-with-haproxy/18899>\
**Category:** General\
**Created:** [November 26, 2020, 3:48am UTC](https://forums.suse.com/t/rancher-integration-with-haproxy/18899 "2020-11-26T03:48:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yue\_Hu](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/yue_hu/32/6890_2.png) [@yue\_Hu](https://forums.suse.com/u/yue_Hu)\
**Post date:** [November 26, 2020, 3:48am UTC](https://forums.suse.com/t/rancher-integration-with-haproxy/18899/1 "2020-11-26T03:48:18Z")

</div>

Hi All,

I would like to integrate rancher (grafana, prometheus) with haproxy. The user can get related page by going through haproxy. Typically rancher provide the following link (grafana, prometheus) officially.

grafana

[https://dmldpbjp000001.cnrd.corpintra.net/api/v1/namespaces/cattle-prometheus/services/http:access-grafana:80/proxy](https://dmldpbjp000001.cnrd.corpintra.net/api/v1/namespaces/cattle-prometheus/services/http:access-grafana:80/proxy)

in other env, it should be similar like  
[[https://xxxxxx](https://xxxxxx) full dns name/api/v1/namespaces/cattle-prometheus/services/http:access-grafana:80/proxy]

We can see grafana screen when clicking the link above if user already signs in.

but if user has not signed in, we can see the screen like this.  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/1/11250333ddacb6549203b60c28f9443b19f50fc8.png)

Thing we expect to happen is that rancher will rediret user to a login page if user has not signed in, and then they can access grafana web page after they provide ueser name and password correctly.

simliar redirect page like ranger login page we expect.

prometheus

The same as above

Does anyone can help? Or when will rancher have this functionality? Thanks.

Regards,

Hu Yue
