# HTTPS TLS Passthrough

**URL:** <https://community.traefik.io/t/https-tls-passthrough/12085>\
**Category:** Traefik v2\
**Tags:** docker\
**Created:** [October 13, 2021, 3:12am UTC](https://community.traefik.io/t/https-tls-passthrough/12085 "2021-10-13T03:12:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aldarien](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/aldarien/32/4379_2.png) [@Aldarien](https://community.traefik.io/u/Aldarien)\
**Post date:** [October 13, 2021, 3:12am UTC](https://community.traefik.io/t/https-tls-passthrough/12085/1 "2021-10-13T03:12:38Z")

</div>

Hi,

Is there a way to enable passthrough or a similar effect for HTTPS?

My problem is that I have several applications that handle https on their own behind a traefik proxy on a docker setup. Most of the solutions I have seen, and they make sense, are to disable https on the container, but I can't do that because I'm trying to replicate as close to production as posible.

I have a docker-compose with:

```auto
services:
  proxy:
    container_name: proxy
    image: traefik
    ports:
      - 80:80
      - 443:443
      - 8080:8080
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ./proxy/logs/:/var/log/traefik/
      - ./proxy/traefik.yml:/traefik.yml
      - ./proxy/acme.json:/acme.json
  app1:
    --
    labels:
      - traefik.http.routers.app1.rule=Host(`app1.local`)
      - traefik.http.routers.app1.entrypoints=websecure
      - traefik.http.routers.app1.tls=true
      - traefik.http.routers.app1.tls.certresolver=le
      - traefik.http.services.app1.loadbalancer.server.port=443

```

and the traefik.yml:

```auto
log:
  filePath: "/var/log/traefik/error.log"
accessLog:
  filePath: "/var/log/traefik/access.log"
providers:
  docker: {}
entryPoints:
  web:
    address: ":80"
    http:
      redirections:
        entryPoint:
          to: websecure
          scheme: https
  websecure:
    address: ":443"
api:
  dashboard: true
  insecure: true
certificatesresolvers:
  le:
    acme:
      email: email@email.me
      tlschallenge: true

```

---

<div class="post-metadata">

**Author:** ![jakubhajek](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/jakubhajek/32/3389_2.png) [@jakubhajek](https://community.traefik.io/u/jakubhajek)\
**Post date:** [October 14, 2021, 12:12pm UTC](https://community.traefik.io/t/https-tls-passthrough/12085/2 "2021-10-14T12:12:57Z")

</div>

Hello @Aldarien

Thanks for using Traefik.

Here is the link to how you can enable TLS Passthrough. [Routers - Traefik](https://doc.traefik.io/traefik/routing/routers/#passthrough)

Please let me know if you have additional questions.
