# KIC HTTPS Upstream problem

**URL:** <https://discuss.konghq.com/t/kic-https-upstream-problem/11945>\
**Category:** Questions\
**Created:** [September 28, 2023, 10:03pm UTC](https://discuss.konghq.com/t/kic-https-upstream-problem/11945 "2023-09-28T22:03:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yTchupaCabra](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/ytchupacabra/32/4161_2.png) [@yTchupaCabra](https://discuss.konghq.com/u/yTchupaCabra)\
**Post date:** [September 28, 2023, 10:03pm UTC](https://discuss.konghq.com/t/kic-https-upstream-problem/11945/1 "2023-09-28T22:03:18Z")

</div>

Hello everybody!

I’m using the Kong Ingress Controller in my k8s cluster, and I’m trying to configure a tool for me to test, but I’m not able to configure HTTPS…  
The problem is that the application only accepts the HTTPS request, and when it passes through the ingress, the proxy transforms it to HTTP.  
The tls validation is correct, I have other links with the same configuration and it is functional.

What I need is:

```auto
the request: "https://nifi.xxx.com.br"
transforms into: "https://POD_IP:8443"

```

Below is the kong ingress log:

```auto
2023/09/28 21:51:43 [error] 1132#0: *1070011 upstream sent no valid HTTP/1.0 header while reading response header from upstream, client: 172.10.72.0, server: kong, request: "GET / HTTP/2.0", upstream: "http://172.10.135.163:8443/", host: "nifi.xxx.com.br"

```

my ingress config:

```auto
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: nifi
  namespace: nifi
  annotations:
    konghq.com/protocols: "https"
    konghq.com/https-redirect-status-code: "308"
spec:
  ingressClassName: kong
  tls:
  - hosts:
    - nifi.xxx.com.br
    secretName: xxx-cert
  rules:
  - host: nifi.xxx.com.br
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: nifi
            port:
              number: 8443

```

Does anyone know how to solve it?  
Thanks!
