We assume you have a domain name (e.x YOURSITE.COM) and an a record for root (@). You need to replace SUB.YOURSITE.COM with your domain name. It is really important to create a * record type a in cloudflare dashboard, and a subdomain.
-
Sign in to CloudFlare panel and disable proxy for the subdomain record type A you created and create a * record A type. Also, set SSL/TLS to flexible.
-
Update system:
apt-get update -y && apt-get upgrade -y
- Install nginx, certbot, python3