Skip to content

Commit 265e018

Browse files
authored
Added note to "Add security headers" managed transform rules
1 parent 7c6eea2 commit 265e018

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/content/docs/rules/transform/managed-transforms/reference.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@ Removes the `X-Powered-By` HTTP response header that provides information about
153153

154154
### Add security headers
155155

156+
:::note
157+
The security headers improve protection but may inadvertently block resources (e.g., due to MIME type mismatches), disrupt legacy scripts, prevent external content embeds, omit cross-origin referrer headers, or trigger certificate errors. Before enabling, ensure thorough testing in staging and a clear understanding of each header’s functionality. If issues arise, consider disabling the managed transform rule to isolate the cause. Proceed cautiously to balance security and compatibility.
158+
:::
159+
156160
Adds several security-related HTTP response headers. The added response headers and values are the following:
157161

158162
- `x-content-type-options: nosniff`

0 commit comments

Comments
 (0)