# Elasticsearch with ingress received plaintext http traffic on an https channel

**URL:** <https://discuss.elastic.co/t/elasticsearch-with-ingress-received-plaintext-http-traffic-on-an-https-channel/246549>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [August 27, 2020, 5:30am UTC](https://discuss.elastic.co/t/elasticsearch-with-ingress-received-plaintext-http-traffic-on-an-https-channel/246549 "2020-08-27T05:30:55Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![lfreitas](https://avatars.discourse-cdn.com/v4/letter/l/ac8455/32.png) [@lfreitas](https://discuss.elastic.co/u/lfreitas)\
**Post date:** [September 2, 2020, 1:47pm UTC](https://discuss.elastic.co/t/elasticsearch-with-ingress-received-plaintext-http-traffic-on-an-https-channel/246549/3 "2020-09-02T13:47:56Z")

</div>

It worked for me using these annotations in Ingress:

```
nginx.ingress.kubernetes.io/backend-protocol: HTTPS
nginx.ingress.kubernetes.io/secure-backends: "true"
ingress.kubernetes.io/ssl-passthrough: "true"
```

---

_[View the full topic](https://discuss.elastic.co/t/elasticsearch-with-ingress-received-plaintext-http-traffic-on-an-https-channel/246549)._
