Is it possible to use `cloudflared` with a reverse proxy (like Nginx or Traefik) running inside a Docker container?

Question

Grade: Education Subject: Support
Is it possible to use `cloudflared` with a reverse proxy (like Nginx or Traefik) running inside a Docker container?
Asked by:
115 Viewed 115 Answers

Answer (115)

Best Answer
(261)
Yes, absolutely. `cloudflared` can act as a reverse proxy itself, or you can configure it to forward traffic to another reverse proxy container. Configure `cloudflared` to forward traffic to the internal IP address and port of your Nginx or Traefik container.