D
Dokploy4mo ago
prtik

Lets Encrypt failing when cloudflare enabled

One of my clients had this issue when thier ssl connection suddenly broke and browsers started giving error like 'too many redirects', upon investigating i found out that when cloudflare proxy enabled, the ssl renew must've failed so many times that lets encrypt attemp got exhausted or dokploy has issue requesting certificate on renewal either way ssl is not activating even if we remove and added domain again. We've switched to cloudflare's flexible ssl mode as a temporary solution and put all domains on dokploy on non-ssl mode, so cloudflare to origin connections are now non-secure/unencrypted..
3 Replies
prtik
prtikOP4mo ago
This caused our redirection issue, sitemaip issue! please help us its very urgent..
Siumauricio
Siumauricio4mo ago
we have a dedicated guide for cloudflare https://docs.dokploy.com/docs/core/domains/cloudflare
Cloudflare | Dokploy
This guide will cover how to configure a Cloudflare domain for your applications in dokploy or panel.
prtik
prtikOP3mo ago
You don't understand my issue properly, please look into my issue again, we were already using 'FULL' ssl mode in cloudflare, my doubt is dokploy failing to renew SSL from lets encrypt somehow and exhausting the letsencrypt attempts, in result the ssl failed > bcz of cloudflare full ssl mode, site goes into 'too many redirects' loop! everything gets messy.. and dokploy will not assign ssl even if we remove and add domain again.. @Siumauricio anything? we can't use cloudflare, we turned off proxy currently and using cloudflare only as dns

Did you find this page helpful?