Summary: Cloudflare holds DNS for all 7Mind zones and hosts the marketing website on Cloudflare Pages. Since 2026-09-14 the API and checkout hosts point from Cloudflare DNS to Gymondo’s CloudFront on AWS.
Sources: sevenmind/infrastructure (cloudflare/, foundation/domains.tf, foundation/rudderstack.tf; the Worker files on the unmerged branches chore/rename-migration-proxy and feature/mind-650-magazin-staging-worker; main re-read on 2026-11-09, git log to 2026-10-08), sevenmind/website-next-js (DEPLOY.md, functions/_middleware.ts), sevenmind/backend terraform/environment/staging/RETIRED.md, Gymondo-git/terraform service-cloudfront; Slack (Nik, July to September 2026)
Last updated: 2026-11-09
DNS zones
Terraform in sevenmind/infrastructure/cloudflare/ manages the zones 7mind.de, 6mind.de, 7sleep.de and 6sleep.de. It also holds page rules for 7mind.nl, read as a data source rather than owned (added 2026-10-05). The international domains (7mind.fr, .it, .es, .ca, .co.uk, .app) are also on Cloudflare. Gymondo’s own domains are not; the Gymondo side uses CloudFront.
Routing
| Host | Points to |
|---|---|
www.7mind.* | Cloudflare Pages project of website-next-js (custom domains, fully cut over 2026-08-18) |
next.6mind.* | Website staging and previews on Cloudflare Pages |
magic.7mind.*, magic.6mind.* | Gymondo CloudFront on AWS, then function-sevenmind-legacy-gateway. Repointed outside Terraform around the 2026-09-14 cutover |
app.7mind.*, app.6mind.* | Gymondo CloudFront on AWS (frontend-public-pages and Gymondo APIs) |
gateway.7mind.de, backend.7mind.de, panel.backend.7mind.de, id.7mind.de | GKE ingress in Google Cloud (legacy). The *.6mind.de versions of the Elixir hosts lost their backend when the staging plane was destroyed on 2026-10-07 |
rs.7mind.de, rs.6mind.de | GKE ingress in Google Cloud, a proxy to RudderStack’s hosted data plane. Live: the app sends all its RudderStack events here. See google-cloud |
zpp-certs.7mind.de, mobile.6mind.de | Google Cloud Storage |
www.7sleep.de, www.7mind.nl | Page rules redirect to www.7mind.de (and www.7mind.de/en for .nl) at the edge, since 2026-10-05. They replace redirects that Nuxt workloads on GKE used to serve (web-sleep-production is retired, and web-v2 no longer has to answer www.7mind.nl) |
Terraform is out of date for magic.* and www. See the drift warning in terraform before applying anything in the cloudflare/ or foundation/ targets.
Cloudflare Pages
- website-next-js is a static export served by Cloudflare Pages, with a Pages Function (
functions/_middleware.ts) that maps each host to its locale folder and 302s login and checkout slugs toapp.<domain>. - A second Pages project from the same repo serves Storyblok preview.
- PR preview deployments come from Cloudflare Pages and double as the build check.
- This wiki (brain) is also published via Cloudflare Pages at
brain.6mind.de.
Workers
During the website migration (June to August 2026, MIND-650 and MIND-704), a “website-migration-proxy” Worker sent migrated paths to the new Next.js site and the rest to the Nuxt site on GKE. Its Terraform was never merged to main of sevenmind/infrastructure: it exists only on the branches chore/rename-migration-proxy (last commit 2026-07-14) and feature/mind-650-magazin-staging-worker. Whether a production or staging Worker is still deployed in Cloudflare cannot be told from the code; check the Cloudflare dashboard.
Access
The old admin panel and internal GCP services are protected by Cloudflare Access. See supertokens-auth for the JWT audience setup on the Elixir side.
Related
- infra-overview — the full topology
- terraform — where Cloudflare resources are declared, and the drift warning
- website-next-js — the main Cloudflare Pages workload