Track HiveGrid Cloud planning reference

This commit is contained in:
david committed 2026-06-26 20:48:01 +02:00
1 parent b3d5ea6764
commit e341c5938a
5784 files changed
+1104929 -3

No files matched your search

@@ -0,0 +1,13 @@
// AK-INFRA1 (Staging-Härtung) — Nicht-Produktiv-Umgebungen (Staging) dürfen nicht von Suchmaschinen
// indexiert werden. Gate über ein EXPLIZITES Env-Flag `WEB_NOINDEX` (auf Staging in Coolify gesetzt),
// bewusst statt Host-String-Matching: explizit, testbar, und prod bleibt ohne Flag indexierbar.
//
// Durchgesetzt über den `X-Robots-Tag: noindex, nofollow`-Header auf jeder SSR-HTML-Antwort
// (siehe entry.server.tsx). Das ist der verlaessliche Mechanismus; robots.txt bleibt statisch
// (public/robots.txt) und env-unabhaengig, da der Header den noindex ohnehin erzwingt.
export const X_ROBOTS_TAG_NOINDEX = "noindex, nofollow";
export function shouldNoindex(env: Record<string, string | undefined> = process.env): boolean {
return env.WEB_NOINDEX === "true";
}