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:
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:
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