# Redirect Loop with HTTPS redirectScheme

**URL:** <https://community.traefik.io/t/redirect-loop-with-https-redirectscheme/2679>\
**Category:** Traefik v2\
**Tags:** middleware\
**Created:** [October 30, 2019, 1:23pm UTC](https://community.traefik.io/t/redirect-loop-with-https-redirectscheme/2679 "2019-10-30T13:23:41Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ldez](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/ldez/32/5_2.png) [@ldez](https://community.traefik.io/u/ldez)\
**Post date:** [October 30, 2019, 3:44pm UTC](https://community.traefik.io/t/redirect-loop-with-https-redirectscheme/2679/4 "2019-10-30T15:44:36Z")

</div>

The TLS part is on the router, so you have to solution:

- create 2 IngressRoutes: one on `web` with the redirection, and one on `websecure` without the redirection and with TLS.
- create a global redirection (see other topics for more information), and one IngressRoute on `websecure` without redirection

[https://docs.traefik.io/v2.0/routing/routers/#tls](https://docs.traefik.io/v2.0/routing/routers/#tls)

---

_[View the full topic](https://community.traefik.io/t/redirect-loop-with-https-redirectscheme/2679)._
