Cloudflare cant connect to LEMP WordPress droplet

I have a domain registered through Google Domains at I have a wordpress site installed at that I have successfully installed WordPress. I want to route my site through CloudFlare and have added the CloudFlare NS records to my domain on Google Domains. In cloudflare I have: A points to CNAME www is an alias of

but accessing my site, I get a cloudflare error that my server is not responding, when I can access it fine at the ip. Is this a server configuration issue? I followed this guide:

EDIT: CloudFlare shows my status as active.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I have found out the issue is that my nginx configuration is not listening to port 443.