Revert "A development host is kept out of search engines without IAPL_NOINDEX (developmentNoindex, default on)"

This reverts commit bc3aac249f.
This commit is contained in:
Radosław Smoliński
2026-11-26 10:38:29 +01:00
parent 463b966365
commit 5df5358768
23 changed files with 24 additions and 215 deletions
+2 -2
View File
@@ -115,7 +115,7 @@ URLs point at that domain. Outside production, `R2_PUBLIC_URL` alone → read-on
| `NEXT_PUBLIC_TURNSTILE_SITE_KEY`, `TURNSTILE_SECRET_KEY` | ⬜ | forms | fallback when the Turnstile keys are not in Site integrations. **`TURNSTILE_SECRET_KEY` is deprecated** — put the secret key into the panel (turnstile.md); the variable keeps working until a later, announced release |
| `INDEXNOW_KEY` | ⬜ | SEO | IndexNow key (takes precedence over the key from the panel) |
| `IAPL_COOKIE_SCAN_URL`, `IAPL_COOKIE_SCAN_TOKEN` | ⬜ (✅ prod with `iaplEnvRules({ cookieCrawl: true })`) | consent | cookie crawl (`cookieScanner.crawl`): the shared scanner service's URL and this site's token ([cookie-scanner.md](./cookie-scanner.md#browser-crawl)) |
| `IAPL_NOINDEX` | ⬜ | SEO | `1`/`true`/`yes` **on staging only** — the whole site is noindex (robots, meta, `X-Robots-Tag`). Not needed on a development host: a site whose `NEXT_PUBLIC_SERVER_URL` matches `iapl({ developmentHosts })` (built in: `*.dev.netscale.pl`) is noindex by itself; `0` there switches that off for the environment, `iapl({ developmentNoindex: false })` for the project |
| `IAPL_NOINDEX` | ⬜ | SEO | `1`/`true`/`yes` **on staging only** — the whole site is noindex (robots, meta, `X-Robots-Tag`) |
| `IAPL_DOCTOR_TOKEN` | ⬜ | ops | ≥ 32 characters turns on the `iapl-doctor` status endpoint `GET /api/ipal/doctor` (404 without it) — [doctor.md](./doctor.md) |
"✅ prod" = required by `iaplEnvRules({ storage: true })` / `({ ipHeader: true })` with
@@ -318,7 +318,7 @@ checkbox; default: both). A changed variable takes effect only after a **redeplo
| `DATABASE_URI`, `PAYLOAD_SECRET` | ✅ only if the build prerenders from the database (§3a3), otherwise ⬜ | ✅ | SSG (`generateStaticParams`) needs the database during `pnpm build`; DB-reading routes stay `force-dynamic` either way (§3b) |
| `R2_*`, `GRAPH_*`, `TURNSTILE_SECRET_KEY`, `INDEXNOW_KEY`, `IAPL_IP_HEADER` | ⬜ | ✅ | read at runtime only — keep secrets out of the build |
| `NODE_ENV` | — | — | do not set by hand: `next build` / `next start` use `production` |
| `IAPL_NOINDEX` | — | ✅ staging only (a development host needs none) | never on production |
| `IAPL_NOINDEX` | — | ✅ staging only | never on production |
Multiline values (keys) → mark *Multiline*; values containing `$` → mark *Literal* (otherwise Coolify interpolates
them). Coolify adds its own variables (`COOLIFY_FQDN`, `COOLIFY_URL`, `SOURCE_COMMIT`, `PORT`, `HOST`) — do not use