How can I configure Cloudflare to proxy traffic to my Docker Compose application?

Question

Grade: Education Subject: Support
How can I configure Cloudflare to proxy traffic to my Docker Compose application?
Asked by:
81 Viewed 81 Answers

Answer (81)

Best Answer
(441)
You can configure Cloudflare to proxy traffic to your Docker Compose application by creating a Cloudflare profile for your domain. Within the profile, you'll set up a fast lane (proxy) to your server's IP address. Configure the routing rules in Cloudflare to forward requests to the specified port on your Docker Compose application (e.g., 80 or 443). Ensure Cloudflare's firewall rules allow access to the necessary ports and application.