feat: add phase 7.5 Nginx to Caddy migration script and update usage guide
This commit is contained in:
@@ -154,6 +154,23 @@ If you prefer to run each phase individually and inspect results:
|
||||
./phase9_security.sh && ./phase9_post_check.sh
|
||||
```
|
||||
|
||||
### Optional Phase 7.5 (one-time Nginx -> Caddy migration)
|
||||
|
||||
Use this only if you want one Caddy instance to serve both legacy and new domains.
|
||||
|
||||
```bash
|
||||
# Canary first (default): tower.sintheus.com + Gitea domain
|
||||
./phase7_5_nginx_to_caddy.sh --mode=canary
|
||||
|
||||
# Full host map cutover
|
||||
./phase7_5_nginx_to_caddy.sh --mode=full
|
||||
|
||||
# Enforce strict end-to-end TLS for all upstreams
|
||||
./phase7_5_nginx_to_caddy.sh --mode=full --strict-backend-https
|
||||
```
|
||||
|
||||
Detailed migration context, rationale, and next actions are tracked in `TODO.md`.
|
||||
|
||||
### Skip setup (already done)
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user