Serve Hesychia crawler files as static text #43

Closed
opened 2026-10-17 04:07:08 -07:00 by westfarn · 0 comments
Owner

Crawlers requesting /robots.txt, /sitemap.xml, or /llms.txt must get those files, not the SPA index.html.

Scope

  • For chat_web_app only, nginx exact locations for those three paths.
  • try_files the real file or return 404. Do not fall through to index.html.
  • Set text/plain for the txt files and application/xml for the sitemap.
  • Other static apps keep the current catch-all.

The files themselves ship in chat_web_app public/.

Crawlers requesting `/robots.txt`, `/sitemap.xml`, or `/llms.txt` must get those files, not the SPA `index.html`. ## Scope - For `chat_web_app` only, nginx exact locations for those three paths. - `try_files` the real file or return 404. Do not fall through to `index.html`. - Set `text/plain` for the txt files and `application/xml` for the sitemap. - Other static apps keep the current catch-all. The files themselves ship in chat_web_app `public/`.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ai_ml_operations/server-infra#43