Skip to content

Turn off Network Error Logging for the devantler.tech zone #84

Closed

Description

@devantler

What

Turn off Cloudflare Network Error Logging (NEL) for the zone. The setting is nel, with value { enabled = false }. Add it as one more cloudflare_zone_setting in zone.tf, beside email_obfuscation.

Why

Since devantler.tech moved to the platform behind Cloudflare (15 November 2026), every response carries NEL and Report-To headers:

nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}

The browser stores this policy for seven days and sends reports about failed connections to a.nel.cloudflare.com.

Under the Danish cookie order (BEK 1148/2011, section 3), storing information in a visitor's browser needs prior consent. The exception in section 4 covers only what is needed to transmit the page, or to deliver a service the visitor asked for. Whether a network-error reporting policy fits that exception is a judgement call. Everything else on the site needs no consent: it sets no cookies, has no analytics and loads no third-party content. Turning NEL off removes the question.

Turning it off loses only Cloudflare's client-side network error reports. The platform's own monitoring is unaffected.

This was found in the Danish-law check, business-site#19. The new privacy page (business-site#601) describes NEL neutrally, as "may ask your browser…", so it stays true whichever way this is decided.

Done when

  • The NEL and Report-To headers are gone from https://devantler.tech/ responses.
  • The zone.tf comment lists the reason, like the other settings.

🤖 Generated with Claude Code

Activity

  1. devantler commented on Nov 15, 2026

    @devantler
    ContributorAuthor

    Applied and verified. #85 turned off Network Error Logging (run 43749901840, 19:01 UTC). The plan imported the nel setting and changed only its value, and the fresh-runner check was clean. Neither NEL nor Report-To appears on devantler.tech responses any more, and all 69 sitemap pages still match the origin byte for byte. Browsers that already stored the policy drop it within seven days.

    🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions