Skip to content

Commit 7fa19c8

Browse files
committed
Update origin-rule-promotion partial
1 parent 370152a commit 7fa19c8

File tree

3 files changed

+10
-17
lines changed

3 files changed

+10
-17
lines changed

src/content/docs/rules/origin-rules/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The origin rule expression will determine when these overrides will be applied.
2121

2222
<Render
2323
file="snippets-alternative"
24-
params={{ one: "and customized modifications" }}
24+
params={{ suffix: "and customized modifications" }}
2525
/>
2626
<br />
2727

src/content/docs/rules/page-rules/reference/settings.mdx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,18 @@ sidebar:
77
head:
88
- tag: title
99
content: Settings | Page Rules
10-
1110
---
1211

13-
import { Render } from "~/components"
12+
import { Render } from "~/components";
1413

1514
Settings control the action Cloudflare takes once a request matches the URL pattern defined in a page rule. You can use settings to enable and disable multiple Cloudflare features across the dashboard.
1615

1716
<Render file="page-rules-migration" />
1817

1918
Note that:
2019

21-
* Some settings require a Pro, Business, or Enterprise domain plan.
22-
* You can specify more than one setting to apply when the rule triggers.
20+
- Some settings require a Pro, Business, or Enterprise domain plan.
21+
- You can specify more than one setting to apply when the rule triggers.
2322

2423
Below is the full list of settings available, presented in the order that they appear in the **Cloudflare Page Rules** page in the Cloudflare dashboard.
2524

@@ -43,15 +42,15 @@ Below is the full list of settings available, presented in the order that they a
4342
| Edge Cache TTL | Specify how long to cache a resource in the Cloudflare global network. *Edge Cache TTL* is not visible in response headers. | All |
4443
| [Email Obfuscation](/waf/tools/scrape-shield/email-address-obfuscation/) | Turn on or off **Email Obfuscation**.<Render file="configuration-rule-promotion" product="rules" /> | All |
4544
| Forwarding URL | Redirects one URL to another using an `HTTP 301/302` redirect. Refer to [Wildcard matching and referencing](/rules/page-rules/reference/wildcard-matching/). | All |
46-
| [Host Header Override](/rules/page-rules/how-to/rewrite-host-headers/) | Apply a specific host header.<Render file="origin-rule-promotion" product="rules" params={{ one: "/rules/origin-rules/features/#host-header" }} /> | Enterprise |
47-
| IP Geolocation Header | Cloudflare adds a `CF-IPCountry` HTTP header containing the country code that corresponds to the visitor. | All |
45+
| [Host Header Override](/rules/page-rules/how-to/rewrite-host-headers/) | Apply a specific host header.<Render file="origin-rule-promotion" product="rules" params={{ originRuleUrl: "/rules/origin-rules/features/#host-header" }} /> | Enterprise |
46+
| IP Geolocation Header | Cloudflare adds a `CF-IPCountry` HTTP header containing the country code that corresponds to the visitor. | All |
4847
| [Mirage](/speed/optimization/images/mirage/) | Turn on or off **Mirage**.<Render file="configuration-rule-promotion" product="rules" /> | Pro and above |
4948
| [Opportunistic Encryption](/ssl/edge-certificates/additional-options/opportunistic-encryption/) | Turn on or off the **Opportunistic Encryption**.<Render file="configuration-rule-promotion" product="rules" />  | All |
5049
| [Origin Cache Control](/cache/concepts/cache-control/) | Origin Cache Control is enabled by default for Free, Pro, and Business domains and disabled by default for Enterprise domains. | All |
5150
| Origin Error Page Pass-thru | Turn on or off Cloudflare error pages generated from issues sent from the origin server. If enabled, this setting triggers error pages issued by the origin. | Enterprise |
5251
| [Polish](/images/polish/) | Apply options from the **Polish** feature of the Cloudflare **Speed** app.<Render file="configuration-rule-promotion" product="rules" /> | Pro and above |
5352
| [Query String Sort](/cache/advanced-configuration/query-string-sort/) | Turn on or off the reordering of query strings. When query strings have the same structure, caching improves. | Enterprise |
54-
| [Resolve Override](/rules/page-rules/how-to/override-url-or-ip-address/) | Change the origin address to the value specified in this setting. <Render file="origin-rule-promotion" product="rules" params={{ one: "/rules/origin-rules/features/#dns-record" }} /> | Enterprise |
53+
| [Resolve Override](/rules/page-rules/how-to/override-url-or-ip-address/) | Change the origin address to the value specified in this setting. <Render file="origin-rule-promotion" product="rules" params={{ originRuleUrl: "/rules/origin-rules/features/#dns-record" }} /> | Enterprise |
5554
| [Respect Strong ETags](/cache/reference/etag-headers/) | Turn on or off byte-for-byte equivalency checks between the Cloudflare cache and the origin server. | Enterprise |
5655
| Response Buffering | Turn on or off whether Cloudflare should wait for an entire file from the origin server before forwarding it to the site visitor. By default, Cloudflare sends packets to the client as they arrive from the origin server. | Enterprise |
5756
| [Rocket Loader](/speed/optimization/content/rocket-loader/) | Turn on or off **Rocket Loader** in the Cloudflare **Speed** app.<Render file="configuration-rule-promotion" product="rules" /> | All |
Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
---
2-
inputParameters: originRuleUrl
3-
2+
params:
3+
- originRuleUrl
44
---
55

6-
import { Markdown } from "~/components"
7-
86
:::note
9-
10-
11-
You can accomplish the same effect with an <a href={props.one}>origin rule</a>.
12-
13-
7+
You can accomplish the same effect with an <a href={props.originRuleUrl}>origin rule</a>.
148
:::

0 commit comments

Comments
 (0)