I got stuck with the problem.
I try to configure simple SSL redirect from http to https, but I get in 302 redirect loop.
what I done:
- configured KongIngress:
" | kubectl apply -f -
- attached it to Ingress:
got 302 redirect loop…
if I do the same with Nginx Ingress everything works fine:
I suppose nginx.ingress.kubernetes.io/ssl-redirect: ‘true’ works not in the same way as https_redirect_status_code.
I use cert-manger for auto SSL generating and I have CloudFlare in front of k8s cluster, but as I wrote earlier there is no such problem with nginx ingress controller.
What can be a problem here? any workarounds?
thanks in advance for any tips.