# Http to https redirect with v2. ends in 404 for http

**URL:** <https://community.traefik.io/t/http-to-https-redirect-with-v2-ends-in-404-for-http/2380>\
**Category:** Traefik v2\
**Tags:** docker\
**Created:** [October 15, 2019, 12:27pm UTC](https://community.traefik.io/t/http-to-https-redirect-with-v2-ends-in-404-for-http/2380 "2019-10-15T12:27:26Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![chrislentz](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/chrislentz/32/1632_2.png) [@chrislentz](https://community.traefik.io/u/chrislentz)\
**Post date:** [February 21, 2020, 8:46pm UTC](https://community.traefik.io/t/http-to-https-redirect-with-v2-ends-in-404-for-http/2380/10 "2020-02-21T20:46:01Z")

</div>

I was struggling with this same issue and I identified the issue from the original poster, so I wanted to share. It does work in Docker Compose, but with one caveat. The solution can be found here: [HTTP to HTTPS Redirect Causing a 404](https://community.containo.us/t/http-to-https-redirect-causing-a-404/4543/2)

---

_[View the full topic](https://community.traefik.io/t/http-to-https-redirect-with-v2-ends-in-404-for-http/2380)._
