# Ingress, redirect to https

**URL:** <https://discuss.kubernetes.io/t/ingress-redirect-to-https/3993>\
**Category:** General Discussions\
**Created:** [December 27, 2018, 7:21am UTC](https://discuss.kubernetes.io/t/ingress-redirect-to-https/3993 "2018-12-27T07:21:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miha](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@Miha](https://discuss.kubernetes.io/u/Miha)\
**Post date:** [December 27, 2018, 7:21am UTC](https://discuss.kubernetes.io/t/ingress-redirect-to-https/3993/1 "2018-12-27T07:21:23Z")

</div>

Hello

with cert-manager and letsencrypt I am creating TLS certificates for my domain. This part works as it should.

So, certificate are issued for [www.domain.com](http://www.domain.com) but not for [domain.com](http://domain.com). What I need is to do redirect from [domain.com](http://domain.com) -\> [www.domain.com](http://www.domain.com) and also http to https.

I did this: `ingress.kubernetes.io/force-ssl-redirect: "true"` but from what i see it does not work as it should.  
I am using GKE and not ingress LB.

thank you.  
miha

---

<div class="post-metadata">

**Author:** ![Matthew\_Wimpelberg](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/matthew_wimpelberg/32/6317_2.png) [@Matthew\_Wimpelberg](https://discuss.kubernetes.io/u/Matthew_Wimpelberg)\
**Post date:** [September 3, 2026, 5:57pm UTC](https://discuss.kubernetes.io/t/ingress-redirect-to-https/3993/2 "2026-09-03T17:57:21Z")

</div>

I think you’re looking for [nginx.ingress.kubernetes.io/force-ssl-redirect:](http://nginx.ingress.kubernetes.io/force-ssl-redirect:) “true”
