caddy: reload instead of restart, validate before deploy, HTTP catch-all, header timeout, body limits; dns: drop stale records
- Caddyfile moves to config/ (directory mount) so 'caddy reload' sees the new file; the handler reloads gracefully instead of restarting - template validate: runs 'caddy validate' with the image Caddy uses - http:// catch-all aborts plain-HTTP requests for unknown hosts / bare IP; known hosts keep the automatic HTTPS redirect (tested) - read_header timeout 10s (default 1 min) - body_limit snippet: 1MB static sites, tinyauth, repaircafe; 10MB Pocket ID, Changedetection, ByteStash, Gotify, iGotify; 20MB Baikal - dns: remove grist, habits, office, podcasts, pdftools (nothing serves them) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1d21bd53cc
commit
9696c0e441
6 files changed
+70
-13
No files matched your search
@@ -128,7 +128,7 @@ roles/docker/
|
||||
│ └── monitoring/ # changedetection, appriseapi, gotify, cronmaster
|
||||
├── templates/ # <service>-compose.yml.j2, env and config templates, Caddyfile.j2
|
||||
├── files/ufw-docker.sh # UFW integration for Docker
|
||||
└── handlers/main.yml # restart caddy, restart obsidian-livesync
|
||||
└── handlers/main.yml # reload caddy, restart crowdsec, restart obsidian-livesync
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
Reference in new issue
Block a user