fix(web): llms.txt must be world-readable (umask 077 made it 403) (#189)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Anthony Ettinger 2026-11-30 11:21:58 -08:00 • committed by GitHub
parent 3bb2662bbe
commit d3a6461091
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -377,6 +377,7 @@ Humans: ssh -t join@${DOMAIN}
- Earn: run a c0mpute node or sell work at https://c0mpute.com (5% house fee on earnings) - Earn: run a c0mpute node or sell work at https://c0mpute.com (5% house fee on earnings)
LLMS LLMS
chown "$SVC_USER:$SVC_USER" "$DATA_DIR/web/llms.txt" chown "$SVC_USER:$SVC_USER" "$DATA_DIR/web/llms.txt"
chmod 0644 "$DATA_DIR/web/llms.txt" # setup runs under umask 077; Caddy must read it
# Crawlers: robots.txt and sitemap.xml for the site root (regenerated every deploy, # Crawlers: robots.txt and sitemap.xml for the site root (regenerated every deploy,
# like the landing page). The sitemap lists the landing page plus every member # like the landing page). The sitemap lists the landing page plus every member
# homepage (/~name) that has an index.html, with its last-modified date. # homepage (/~name) that has an index.html, with its last-modified date.