All Guides
Настройка Cloudflare DNS и CDN
Добавьте Cloudflare на свой сайт. DNS, CDN, защита от DDoS.
Beginner15 мин.
Setup Steps
1. Create a free account at https://cloudflare.com
2. Click 'Add a Site' and enter your domain name
3. Select the Free plan
4. Update the nameservers at your domain registrar with Cloudflare's:
ns1.cloudflare.com
ns2.cloudflare.com5. Wait for DNS propagation (usually 1-24 hours)
6. Configure DNS records:
- A record: @ -> server_ip (Proxied)
- CNAME: www -> mysite.com (Proxied)
7. SSL/TLS settings:
- Encryption mode: Full (Strict)
- Always Use HTTPS: On
- Minimum TLS Version: 1.2
8. Performance settings:
- Auto Minify: JavaScript, CSS, HTML
- Brotli: On
9. Security settings:
- Security Level: Medium
- Bot Fight Mode: On
10. Page Rules (important rules):
*.mysite.com/* -> Always Use HTTPS
mysite.com/api/* -> Cache Level: Bypass