ElasticSearch ingest behind Openshift ingress: 502 bad gateway

I need some advice on how to expose my elasticsearch ingest service in an Openshift cluster.

I have the kibana dashboard working behind https and I was able to curl POST to the ingester but only directly through a port-forward locally. Now that I have a ingress and certs I get 502 bad gateway when doing the exact same post.

curl  -u name:pass -H "Content-Type: application/json" -X PUT https://url/index -d "{<my-data>}"

I was just curious, do I need some extra config if I'm ingesting behind a proxy?

app version: 8.13
helm chart version: bitnami/elasticsearch 21.1