# Ingress Issue with HTTPS backend

**URL:** https://forums.suse.com/t/ingress-issue-with-https-backend/14190
**Category:** SUSE Rancher Prime
**Created:** [May 7, 2019, 12:55pm UTC](https://forums.suse.com/t/ingress-issue-with-https-backend/14190 "2019-05-07T12:55:31Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Raghu](https://avatars.discourse-cdn.com/v4/letter/r/b2d939/32.png) [@Raghu](https://forums.suse.com/u/Raghu)
#### Post date: [May 7, 2019, 12:55pm UTC](https://forums.suse.com/t/ingress-issue-with-https-backend/14190/1 "2019-05-07T12:55:31Z")

</div>

Hi ,

I am unable to configure ingress with https backend. Always getting 502 bad gateway. I tried with ssl pass through annotation, still no luck. Any help would be highly appreciated.

---

<div class="post-metadata">

### Author: ![Stonedge](https://avatars.discourse-cdn.com/v4/letter/s/d07c76/32.png) [@Stonedge](https://forums.suse.com/u/Stonedge)
#### Post date: [May 16, 2019, 7:47pm UTC](https://forums.suse.com/t/ingress-issue-with-https-backend/14190/2 "2019-05-16T19:47:58Z")

</div>

Depending of the versions of k8s/ingress you have… add the following annotation to your ingress

new: [nginx.ingress.kubernetes.io/backend-protocol:](http://nginx.ingress.kubernetes.io/backend-protocol:) “HTTPS”  
old version: [nginx.ingress.kubernetes.io/secure-backends:](http://nginx.ingress.kubernetes.io/secure-backends:) “true”

Hope it help 🙂

Stonedge

---

<div class="post-metadata">

### Author: ![AurelioCosta](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/aureliocosta/32/4302_2.png) [@AurelioCosta](https://forums.suse.com/u/AurelioCosta)
#### Post date: [August 13, 2019, 4:11pm UTC](https://forums.suse.com/t/ingress-issue-with-https-backend/14190/3 "2019-08-13T16:11:03Z")

</div>

The solution @Stonedge gave worked perfect. But I got a mess to use HTTP between quotes on rancher ingress configuration.
