Headers specific to deploy contexts

It would be great if you could set headers in netlify.toml for specific contexts, like:

    for = "/*"
      X-Robots-Tag = "noindex"

That’s a real use-case in the example – preventing branch deploys from being indexed.

I know there’s a workaround, but this way makes sense, and would be easy to maintain.


Hey there, @Colin_Green :wave:

Thanks so much for reaching out and taking the time to share this feedback. I have passed it along to the relevant teams.