# HTTP to HTTPS Redirect Causing a 404

**URL:** <https://community.traefik.io/t/http-to-https-redirect-causing-a-404/4543>\
**Category:** Traefik v2\
**Tags:** docker\
**Created:** [February 21, 2020, 7:08pm UTC](https://community.traefik.io/t/http-to-https-redirect-causing-a-404/4543 "2020-02-21T19:08:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:42pm UTC](https://community.traefik.io/t/http-to-https-redirect-causing-a-404/4543/2 "2020-02-21T20:42:26Z")

</div>

I figured it out!

I am using `--providers.docker.exposedbydefault=false` to prevent the auto exposure of all containers. This issue was, that this blocked traffic from reaching the "http\_catchall" router. I had to add `traefik.enable=true` to the labels block on the traefik container this enables access to the "http\_catchall" router.

---

_[View the full topic](https://community.traefik.io/t/http-to-https-redirect-causing-a-404/4543)._
