# Rancher 2.0 Ingress pointing to HTTPS backend

**URL:** https://forums.suse.com/t/rancher-2-0-ingress-pointing-to-https-backend/10197
**Category:** Rancher 2.0 Tech Preview
**Created:** [April 27, 2018, 4:20pm UTC](https://forums.suse.com/t/rancher-2-0-ingress-pointing-to-https-backend/10197 "2018-04-27T16:20:47Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![rnoob2018](https://avatars.discourse-cdn.com/v4/letter/r/e79b87/32.png) [@rnoob2018](https://forums.suse.com/u/rnoob2018)
#### Post date: [April 27, 2018, 4:20pm UTC](https://forums.suse.com/t/rancher-2-0-ingress-pointing-to-https-backend/10197/1 "2018-04-27T16:20:47Z")

</div>

I am deploying an application that has an HTTPS endpoint running on port 8443.  
When I am trying to expose it to the world using Rancher UI . (Workloads-\>LoadBalancing-\>Add Ingress)  
I am able to access the endpoint, however it is failing with “The plain HTTP request was sent to HTTPS port”  
So far have not been able to find a clear instructions for this type of setup.

I am running Rancher 2.0 with Kubernetes 1.10 and Docker CE 17.03

Thank you for help

- M

---

<div class="post-metadata">

### Author: ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)
#### Post date: [April 28, 2018, 5:56am UTC](https://forums.suse.com/t/rancher-2-0-ingress-pointing-to-https-backend/10197/2 "2018-04-28T05:56:06Z")

</div>

[https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#secure-backends](https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#secure-backends)

---

<div class="post-metadata">

### Author: ![rnoob2018](https://avatars.discourse-cdn.com/v4/letter/r/e79b87/32.png) [@rnoob2018](https://forums.suse.com/u/rnoob2018)
#### Post date: [April 30, 2018, 8:04pm UTC](https://forums.suse.com/t/rancher-2-0-ingress-pointing-to-https-backend/10197/3 "2018-04-30T20:04:28Z")

</div>

Thank you @vincent. This solved the problem

---

<div class="post-metadata">

### Author: ![Gui](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/gui/32/4173_2.png) [@Gui](https://forums.suse.com/u/Gui)
#### Post date: [January 8, 2019, 9:52pm UTC](https://forums.suse.com/t/rancher-2-0-ingress-pointing-to-https-backend/10197/4 "2019-01-08T21:52:19Z")

</div>

Hi @rnoob2018,

Which one annotation Did you use? I use a Nginx in front of my Rancher, but the most strange I have the same infrastructure in Alpha and Homolog but that it works. I don’t know which one I must use.

Thank you.

---

<div class="post-metadata">

### Author: ![David\_Jennings](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/david_jennings/32/9471_2.png) [@David\_Jennings](https://forums.suse.com/u/David_Jennings)
#### Post date: [October 6, 2022, 4:54pm UTC](https://forums.suse.com/t/rancher-2-0-ingress-pointing-to-https-backend/10197/5 "2022-10-06T16:54:27Z")

</div>

```auto
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"

```

Worked for me
