chore: complete update
This commit is contained in:
48
ansible/nginx-cdn-germany/README.md
Normal file
48
ansible/nginx-cdn-germany/README.md
Normal file
@@ -0,0 +1,48 @@
|
||||
# Simple Nginx CDN für Deutschland
|
||||
|
||||
Dieses Ansible-Projekt erstellt ein einfaches, aber effektives CDN nur mit Nginx für deutsche Server.
|
||||
|
||||
## Schnellstart
|
||||
|
||||
1. **Konfiguration anpassen:**
|
||||
```bash
|
||||
# Server-IPs eintragen
|
||||
vim inventories/production/hosts.yml
|
||||
|
||||
# Domains anpassen
|
||||
vim inventories/production/group_vars/all/main.yml
|
||||
```
|
||||
|
||||
2. **Deployment:**
|
||||
```bash
|
||||
# Testen
|
||||
ansible-playbook -i inventories/production/hosts.yml playbooks/deploy-simple-cdn.yml --check
|
||||
|
||||
# Deployen
|
||||
ansible-playbook -i inventories/production/hosts.yml playbooks/deploy-simple-cdn.yml
|
||||
```
|
||||
|
||||
3. **Verwalten:**
|
||||
```bash
|
||||
# Cache leeren
|
||||
make purge-cache
|
||||
|
||||
# Status prüfen
|
||||
make health
|
||||
```
|
||||
|
||||
## Struktur
|
||||
|
||||
- `inventories/` - Server-Konfiguration
|
||||
- `roles/` - Ansible-Rollen
|
||||
- `playbooks/` - Deployment-Skripte
|
||||
- `scripts/` - Hilfsskripte
|
||||
|
||||
## Features
|
||||
|
||||
✅ Nginx-basiertes CDN
|
||||
✅ SSL mit Let's Encrypt
|
||||
✅ DSGVO-konforme Logs
|
||||
✅ Einfaches Monitoring
|
||||
✅ Cache-Management
|
||||
✅ Rate Limiting
|
||||
Reference in New Issue
Block a user