Ingress: switch to Traefik (cf-only middleware), trust Cloudflare ranges as proxies
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -8,8 +8,9 @@ URL: https://homeassistant.smokyzone.de - **public**, like git: the DNS record i
|
||||
Cloudflare-proxied CNAME to `git.smokyzone.de` (public IP kept current by the ddns
|
||||
CronJob), the router forwards 443 to the ingress. The companion app works without VPN.
|
||||
Protection is HA itself: every user needs MFA (TOTP), and the HTTP settings ban an IP after
|
||||
5 failed logins (ingress-nginx passes the real client IP from Cloudflare's
|
||||
`CF-Connecting-IP`). Certificate from `letsencrypt-dns-cloudflare` (DNS-01).
|
||||
5 failed logins (Traefik keeps Cloudflare's X-Forwarded-For, HA trusts the pod network and
|
||||
the Cloudflare ranges as proxies). The ingress only accepts connections from Cloudflare
|
||||
(Middleware `traefik/cf-only`). Certificate from `letsencrypt-dns-cloudflare` (DNS-01).
|
||||
|
||||
## Design
|
||||
|
||||
|
||||
Reference in New Issue
Block a user