I’m getting a 521 error after i setup Cloudflare DNS and ssl I switched from flexible to full and full strict and kept getting 521 error i then moved back to flexible and then get a 522 error and i setup droplet firewall to be on 443 but still getting 521 error
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
If you have not configured an SSL certificate on your droplet, you would need to open port 80 as well so that CloudFlare could connect to the droplet.
I would recommend checking out the official documentation on how to set that up as well:
https://support.cloudflare.com/hc/en-us/articles/360024787372
And also if you are interested in setting up end to end HTTPS, you could take a look at this article here:
https://support.cloudflare.com/hc/en-us/articles/203295200
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.