9ab78d9bb6
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>
23 lines
435 B
YAML
23 lines
435 B
YAML
---
|
|
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
|