Migrate Gitea proxy to canonical Caddy
This commit is contained in:
1 parent
35e3e1a636
commit
d52bcc15f8
8 files changed
+87
-56
No files matched your search
@@ -85,6 +85,15 @@ CADDYFILE="$REPO_ROOT/dankclaw/Caddyfile"
|
||||
grep -q 'curl.*-sf.*http://localhost:80/' "$REPO_ROOT/dankclaw/compose.yaml"
|
||||
}
|
||||
|
||||
@test "Gitea has no standalone reverse-proxy Quadlet" {
|
||||
[ ! -e "$REPO_ROOT/dankclaw/gitea/quadlet/gitea-caddy.container" ]
|
||||
}
|
||||
|
||||
@test "the canonical Caddy owns the Gitea route" {
|
||||
grep -qF 'gitea.franksdank.cloud {' "$CADDYFILE"
|
||||
grep -qF 'reverse_proxy 192.168.0.143:3000' "$CADDYFILE"
|
||||
}
|
||||
|
||||
# --- Phase 2: real TLS via DNS-01 (Porkbun wildcard cert) ---
|
||||
|
||||
@test "all vhosts use TLS except the legacy .casa name" {
|
||||
|
||||
Reference in new issue
Block a user