Cloudflare tunnel versus nginx

We’re trying to evaluate the pros and cons of running our production servers over and nginx with cloudflare DNS proxy vs a Cloudflare tunnel. What’s the recommendation for production scale workloads?
2 Replies
SuperHelpflare
SuperHelpflare3mo ago
Support AI
According to the documentation, Cloudflare Tunnel is an outbound-only daemon service that can run on nearly any host machine and proxies local traffic once validated from the Cloudflare network (https://developers.cloudflare.com/learning-paths/replace-vpn/connect-private-network/cloudflared/). For production-scale workloads, it's recommended to use Cloudflare Tunnel as it provides a more secure and reliable connection. Cloudflare Tunnel allows you to connect your network infrastructure directly with Cloudflare, rather than using the public Internet, which can improve performance and security (https://developers.cloudflare.com/network-interconnect/). Additionally, Cloudflare Tunnel can handle a large number of connections and can be scaled horizontally by adding more host machines running cloudflared replicas (https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/configure-tunnels/tunnel-availability/#cloudflared-replicas). It's also worth noting that Cloudflare Tunnel can be used in conjunction with other Cloudflare products, such as Load Balancing, to distribute traffic across your endpoints and reduce endpoint strain and latency (https://developers.cloudflare.com/load-balancing/). In contrast, using an nginx server with Cloudflare DNS proxy may not provide the same level of security and reliability as Cloudflare Tunnel. While it's possible to use an nginx server with Cloudflare DNS proxy, it's not the recommended approach for production-scale workloads. Therefore, based on the documentation, the recommendation for production-scale workloads is to use Cloudflare Tunnel.
This is an AI generated response, it may not be 100% accurate. Please validate the output. You can ask followups by replying to this message or mentioning me.
rishsane
rishsane3mo ago
NGINX + Cloudflare proxy

Did you find this page helpful?