Cloudflare DNS und CDN Einrichtung
Fuegen Sie Cloudflare zu Ihrer Website hinzu. DNS, CDN, DDoS-Schutz.
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: BypassRelated Guides
Git und GitHub Einrichtung
Installieren Sie Git und verwalten Sie Projekte mit GitHub.
VS Code Einrichtung und Erweiterungen
Installieren Sie VS Code und erweitern Sie es mit Entwickler-Erweiterungen.
Node.js App-Verwaltung mit PM2
Verwalten Sie Ihre Node.js-Apps in der Produktion mit PM2.
GitHub Actions CI/CD Einrichtung
Erstellen Sie eine automatisierte Test-, Build- und Deploy-Pipeline.