Error 521 SSL Cloudflare

December 27, 2016 27.4k views
Nginx Ubuntu 16.04


I installed WordPress on my Ubuntu droplet and activated Cloudflare SSL.

Now when I am trying to go to the site, the site is, as usual, redirecting to https version but is returning error 521. How do I rectify this error?


1 Answer

CloudFlare provides this troubleshooting document for 521 errors. The most common reason for this error is if your web server process is not running or listening on the expected port. See if you can access your web server directly by the IP just in case.

Have another answer? Share your knowledge.