Closed uebmaster closed 2 years ago
Hi, before that nothing i am almost a noob in docker topic xD
I have a reverse proxy (traefik container) that get ssl certificates from internal CA (step ca).
Then, what i do to makes something works in that scenario, i just add traefik's labels to a docker compose file in the next way:
labels: - traefik.enable=true - traefik.http.services.libre.loadbalancer.server.port=80 - traefik.http.routers.libre.entrypoints=web - traefik.http.routers.libre.rule=Host(`${FQDN}`) - traefik.http.middlewares.libre-https-redirect.redirectscheme.scheme=https - traefik.http.routers.libre.middlewares=wordpress-https-redirect - traefik.http.routers.libre-secure.entrypoints=websecure - traefik.http.routers.libre-secure.rule=Host(`${FQDN}`) - traefik.http.routers.libre-secure.tls=true - traefik.http.routers.libre-secure.tls.certresolver=myresolver
where $FQDN is the internal domain name.
Also i attach the container to an external docker network called traefik-net, to connect the container to the traefik network.
I've tried to make the same with librebooking container but i can't make it work.
Have you some idea what i need to do to make it work?
Thanks in advance:
PD: Sorry for my bad english
Forgot it.
I was my mistake lol xD
In the https redirect middleware i had an error, what a shame xD
Thanks for the container (Y)
Hi, before that nothing i am almost a noob in docker topic xD
I have a reverse proxy (traefik container) that get ssl certificates from internal CA (step ca).
Then, what i do to makes something works in that scenario, i just add traefik's labels to a docker compose file in the next way:
where $FQDN is the internal domain name.
Also i attach the container to an external docker network called traefik-net, to connect the container to the traefik network.
I've tried to make the same with librebooking container but i can't make it work.
Have you some idea what i need to do to make it work?
Thanks in advance:
PD: Sorry for my bad english