ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developersโ€ข2y ago
Backfire

Cloudflare Proxy -> Nginx Proxy SSL

Hello!
So I have the following setup:
1. Multiple Cloudflare DNS with Proxying enabled and SSL set to Full.
2. A Nginx proxy server which redirects each DNS to the corresponding Dockerized Caddy instance which uses LetsEncrypt to generate its SSL certificates.
3. The Caddy instances

As long as I keep the Clouflare proxy switched off and run the Nginx proxy server, everything works well with the certificates.
If I enable the Proxying on Cloudflare side, it will still work and will use the certificates generated by LetsEncrypt, until i restart the Nginx proxy server.
Once restarted, it will not see the LetsEncrypt certificates anymore, but use the Universal one in Cloudflare (the one from Google) and it will throw a certficate handshake error.
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Cloudflare and NGINX Proxy forwarding
Cloudflare DevelopersCDCloudflare Developers / general-help
3y ago
Ssl Certificate is not Showing (nginx proxy reverse config)
Cloudflare DevelopersCDCloudflare Developers / general-help
3y ago
SSL Nginx CF Tunnel
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago
Cloudflare Proxy SSL Full Strict and GitHub Pages
Cloudflare DevelopersCDCloudflare Developers / general-help
3y ago