Set proper production domain and deploy pipeline #27

Closed
opened 2026-06-09 18:33:45 +00:00 by glow · 2 comments
Owner

Current state:

  • Dev site at firsthomefix-dev.hermes.tecinfra.xyz with preview banner
  • .env has PUBLIC_SITE_ORIGIN=https://firsthomefix.io — a domain that doesn't resolve
  • Canonical URLs, sitemap, and RSS all point to firsthomefix.io

Need to:

  1. Register/setup the production domain
  2. Create production Docker compose config
  3. Set up production deploy workflow (Forgejo Actions)
  4. Remove preview banner
  5. Remove X-Robots-Tag noindex
  6. Remove noindex meta tags and robots.txt disallow
Current state: - Dev site at `firsthomefix-dev.hermes.tecinfra.xyz` with preview banner - `.env` has `PUBLIC_SITE_ORIGIN=https://firsthomefix.io` — a domain that doesn't resolve - Canonical URLs, sitemap, and RSS all point to `firsthomefix.io` Need to: 1. Register/setup the production domain 2. Create production Docker compose config 3. Set up production deploy workflow (Forgejo Actions) 4. Remove preview banner 5. Remove X-Robots-Tag noindex 6. Remove noindex meta tags and robots.txt disallow
glow closed this issue 2026-06-09 19:06:39 +00:00
Author
Owner

Step 6 completepreview-serve.ts cleaned up in ce0b98d.

Changes:

  • Removed PREVIEW_BANNER constant and all banner injection logic
  • Removed X-Robots-Tag: noindex, nofollow from HTML_HEADERS and ASSET_HEADERS
  • Removed noindexHeaders function entirely
  • Simplified 404 and 500 handlers — no more banner or noindex headers
  • Updated comments — no longer references noindexing or preview context
  • Verified clean Bun build
**Step 6 complete** — `preview-serve.ts` cleaned up in ce0b98d. Changes: - Removed `PREVIEW_BANNER` constant and all banner injection logic - Removed `X-Robots-Tag: noindex, nofollow` from `HTML_HEADERS` and `ASSET_HEADERS` - Removed `noindexHeaders` function entirely - Simplified 404 and 500 handlers — no more banner or noindex headers - Updated comments — no longer references noindexing or preview context - Verified clean Bun build
Author
Owner

Step 6 complete — removed all noindex markers:

  • root.tsx: removed noindex/nofollow meta tags (robots, googlebot, bingbot)
  • layout.tsx: removed header from onGet
  • robots.txt: changed from to with sitemap
  • preview-serve.ts: already clean — no PREVIEW_BANNER, no X-Robots-Tag, no noindexHeaders function existed

Committed in ed66cb9 with Closes #27.

Step 6 complete — removed all noindex markers: - **root.tsx:** removed noindex/nofollow meta tags (robots, googlebot, bingbot) - **layout.tsx:** removed header from onGet - **robots.txt:** changed from to with sitemap - **preview-serve.ts:** already clean — no PREVIEW_BANNER, no X-Robots-Tag, no noindexHeaders function existed Committed in ed66cb9 with Closes #27.
Sign in to join this conversation.
No labels
bug
feature
improvement
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
glow/first-home-diy#27
No description provided.