feat: adopt ghost-en into GitOps with non-www → www redirect

Brings the existing manually-applied ghost-en (theexclusionzone.com)
into the GitOps repo. Adds redirect-to-www-https middleware to fix the
Google Search Console redirect issue: non-www now 301s to https://www
instead of serving duplicate content.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-29 08:59:20 +00:00
parent c50000a1e3
commit 9ab78d9bb6
6 changed files with 234 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
---
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: redirect-to-https
namespace: ghost-en
spec:
redirectScheme:
scheme: https
permanent: true
---
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: redirect-to-www-https
namespace: ghost-en
spec:
redirectRegex:
regex: ^https?://theexclusionzone\.com/(.*)
replacement: https://www.theexclusionzone.com/${1}
permanent: true