The 521 is from your origin server and it’s either down or port 443 is not open.
Some questions, was the site working before? If so, what changed? If not, is it newly setup?
Some quick fix ideas to investigate here, Community Tip - Fixing Error 521: Web server is down.
Please post back and let us know the issue.