You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c31ffc4
Browse filesBrowse the repository at this point in the historyBrowse files
feat(zone): stop Cloudflare rewriting pages and overriding robots.txt (#81)
* feat(zone): stop Cloudflare rewriting proxied pages
Since devantler.tech is proxied, Cloudflare changes 76 of its HTML pages:
it obfuscates mailto links behind a JavaScript decoder, injects the Bot
Fight Mode JavaScript Detections script, and adds AI Labyrinth honeypot
links. Declare those settings off in zone.tf so visitors get exactly what
the origin serves. On the Free plan JavaScript Detections can only be
turned off with Bot Fight Mode; "Block AI bots" is left as it is.
The DNS workflow now also imports the zone's single-instance settings
(bot management by zone, the listed zone settings by zone and name) and
admits only imports and updates of them, never creates or forgets.
Part of #21.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(zone): let each site's robots.txt decide on AI crawlers
"Block AI bots" answered GPTBot with 403 on devantler.tech although the
site's robots.txt allows every crawler, keeping the business site out of
AI search. Set ai_bots_protection to disabled in the same apply; every
other bot setting keeps its live value.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* docs(zone): rewrap the zone.tf header comment
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(zone): keep the bot settings the provider would otherwise reset
Provider 5.28.1 gives ai_bots_migration_opt_out a static false default and
sends it on update, and bot_preference_sync_enabled is optional without a
computed value. Ignore both, so the apply changes only the declared bot
settings and leaves these at their live values.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
change cloudflare_zone_setting.rocket_loader cloudflare_zone_setting '["update"]''{"setting_id":"rocket_loader","value":"off"}''{"setting_id":"rocket_loader","value":"on"}' null; } | reject "update of an unlisted zone setting"
0 commit comments