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:
the request: "https://nifi.xxx.com.br" transforms into: "https://POD_IP:8443"
Below is the kong ingress log:
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: 188.8.131.52, server: kong, request: "GET / HTTP/2.0", upstream: "http://184.108.40.206:8443/", host: "nifi.xxx.com.br"
my ingress config:
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?