-
Notifications
You must be signed in to change notification settings - Fork 10.4k
[Rules] Update dashboard instructions #18047
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
nikitacano
merged 3 commits into
production
from
pedro/PCX-14534-rules-update-dash-instructions
Nov 8, 2024
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file modified
BIN
-9.63 KB
(83%)
src/assets/images/rules/normalization/url-normalization-settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,36 +1,31 @@ | ||
| --- | ||
| title: Examples | ||
| title: URL normalization examples | ||
| pcx_content_type: configuration | ||
| sidebar: | ||
| order: 6 | ||
| head: | ||
| - tag: title | ||
| content: URL normalization examples | ||
| label: Examples | ||
| description: Examples of the impact of different URL normalization settings in | ||
| the URLs of incoming requests. | ||
|
|
||
| tableOfContents: false | ||
| --- | ||
|
|
||
| The following table shows how different [URL normalization settings](/rules/normalization/settings/) affect request URLs before they pass to other Cloudflare features and to the origin server: | ||
|
|
||
|
|
||
|
|
||
| | Incoming URL | Normalization type | Normalize incoming URLs | Normalize URLs to origin | URL at Cloudflare's network | URL passed to origin server | | ||
| | ---------------------------- | ------------------ | ----------------------- | ------------------------ | ------------------------------ | ------------------------------ | | ||
| | `www.example.com/hello` | (any) | *Off* | *Off* | `www.example.com/hello` | `www.example.com/hello` | | ||
| | `www.example.com/hello` | (any) | *On* | *Off* | `www.example.com/hello` | `www.example.com/hello` | | ||
| | `www.example.com/hello` | (any) | *On* | *On* | `www.example.com/hello` | `www.example.com/hello` | | ||
| | `example.com/%68ello` | (any) | *Off* | *Off* | `example.com/%68ello` | `example.com/%68ello` | | ||
| | `example.com/%68ello` | (any) | *On* | *Off* | `example.com/hello` | `example.com/%68ello` | | ||
| | `example.com/%68ello` | (any) | *On* | *On* | `example.com/hello` | `example.com/hello` | | ||
| | `example.com/%68ello//pa\th` | *RFC-3986* | *Off* | *Off* | `example.com/%68ello//pa\th` | `example.com/%68ello//pa\th` | | ||
| | `example.com/%68ello//pa\th` | *RFC-3986* | *On* | *Off* | `example.com/hello//pa%5Cth` | `example.com/%68ello//pa\th` | | ||
| | `example.com/%68ello//pa\th` | *RFC-3986* | *On* | *On* | `example.com/hello//pa%5Cth` | `example.com/hello//pa%5Cth` | | ||
| | `example.com/%68ello//pa\th` | *Cloudflare* | *Off* | *Off* | `example.com/%68ello//pa\th` | `example.com/%68ello//pa\th` | | ||
| | `example.com/%68ello//pa\th` | *Cloudflare* | *On* | *Off* | `example.com/hello/pa/th` | `example.com/%68ello//pa\th` | | ||
| | `example.com/%68ello//pa\th` | *Cloudflare* | *On* | *On* | `example.com/hello/pa/th` | `example.com/hello/pa/th` | | ||
| | `example.com/hello//../path` | *RFC-3986* | *On* | *On* | `example.com/hello/path` | `example.com/hello/path` | | ||
| | `example.com/hello//../path` | *Cloudflare* | *On* | *On* | `example.com/path` | `example.com/path` | | ||
| | `example.com/hello/\../path` | *RFC-3986* | *On* | *On* | `example.com/hello/%5C../path` | `example.com/hello/%5C../path` | | ||
| | `example.com/hello/\../path` | *Cloudflare* | *On* | *On* | `example.com/path` | `example.com/path` | | ||
|
|
||
| | `www.example.com/hello` | (any) | _Off_ | _Off_ | `www.example.com/hello` | `www.example.com/hello` | | ||
| | `www.example.com/hello` | (any) | _On_ | _Off_ | `www.example.com/hello` | `www.example.com/hello` | | ||
| | `www.example.com/hello` | (any) | _On_ | _On_ | `www.example.com/hello` | `www.example.com/hello` | | ||
| | `example.com/%68ello` | (any) | _Off_ | _Off_ | `example.com/%68ello` | `example.com/%68ello` | | ||
| | `example.com/%68ello` | (any) | _On_ | _Off_ | `example.com/hello` | `example.com/%68ello` | | ||
| | `example.com/%68ello` | (any) | _On_ | _On_ | `example.com/hello` | `example.com/hello` | | ||
| | `example.com/%68ello//pa\th` | _RFC-3986_ | _Off_ | _Off_ | `example.com/%68ello//pa\th` | `example.com/%68ello//pa\th` | | ||
| | `example.com/%68ello//pa\th` | _RFC-3986_ | _On_ | _Off_ | `example.com/hello//pa%5Cth` | `example.com/%68ello//pa\th` | | ||
| | `example.com/%68ello//pa\th` | _RFC-3986_ | _On_ | _On_ | `example.com/hello//pa%5Cth` | `example.com/hello//pa%5Cth` | | ||
| | `example.com/%68ello//pa\th` | _Cloudflare_ | _Off_ | _Off_ | `example.com/%68ello//pa\th` | `example.com/%68ello//pa\th` | | ||
| | `example.com/%68ello//pa\th` | _Cloudflare_ | _On_ | _Off_ | `example.com/hello/pa/th` | `example.com/%68ello//pa\th` | | ||
| | `example.com/%68ello//pa\th` | _Cloudflare_ | _On_ | _On_ | `example.com/hello/pa/th` | `example.com/hello/pa/th` | | ||
| | `example.com/hello//../path` | _RFC-3986_ | _On_ | _On_ | `example.com/hello/path` | `example.com/hello/path` | | ||
| | `example.com/hello//../path` | _Cloudflare_ | _On_ | _On_ | `example.com/path` | `example.com/path` | | ||
| | `example.com/hello/\../path` | _RFC-3986_ | _On_ | _On_ | `example.com/hello/%5C../path` | `example.com/hello/%5C../path` | | ||
| | `example.com/hello/\../path` | _Cloudflare_ | _On_ | _On_ | `example.com/path` | `example.com/path` | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,19 +1,16 @@ | ||
| --- | ||
| title: Configure in the dashboard | ||
| title: Configure URL normalization in the dashboard | ||
| pcx_content_type: how-to | ||
| sidebar: | ||
| order: 4 | ||
| head: | ||
| - tag: title | ||
| content: Configure URL normalization in the dashboard | ||
| label: Configure in the dashboard | ||
| description: How to configure URL normalization in the Cloudflare dashboard. | ||
|
|
||
| --- | ||
|
|
||
| 1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and website. | ||
|
|
||
| 2. Go to **Rules** > **Settings**. | ||
| 2. Go to **Rules** > **URL Normalization**. | ||
|
|
||
|  | ||
| 3. Configure the [available URL normalization settings](/rules/normalization/settings/). | ||
|
|
||
| 3. Under **Configure Normalization**, configure the [available URL normalization settings](/rules/normalization/settings/). | ||
|  | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,42 +1,35 @@ | ||
| --- | ||
| title: Settings | ||
| title: URL normalization settings | ||
| pcx_content_type: reference | ||
| sidebar: | ||
| order: 5 | ||
| head: | ||
| - tag: title | ||
| content: URL normalization settings | ||
|
|
||
| label: Settings | ||
| --- | ||
|
|
||
| The Cloudflare dashboard provides the following settings to manage URL normalization: | ||
|
|
||
| - **Normalization type** (default: _RFC-3986_) | ||
|
|
||
| - Selects the type of normalization to perform: | ||
|
|
||
| * **Normalization type** (default: *RFC-3986*) | ||
|
|
||
| * Selects the type of normalization to perform: | ||
|
|
||
| * *RFC-3986* – Applies URL normalization strictly according to [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986). | ||
|
|
||
| * *Cloudflare* – In addition to what is defined in RFC 3986, applies [extra URL normalization techniques](/rules/normalization/how-it-works/#cloudflare-normalization). | ||
|
|
||
| * **Normalize incoming URLs** (default: *On*) | ||
| - _RFC-3986_ – Applies URL normalization strictly according to [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986). | ||
|
|
||
| * Configures the URLs of all incoming traffic to Cloudflare: | ||
| - _Cloudflare_ – In addition to what is defined in RFC 3986, applies [extra URL normalization techniques](/rules/normalization/how-it-works/#cloudflare-normalization). | ||
|
|
||
| * When enabled, all incoming URLs are normalized before they pass to subsequent Cloudflare features that can receive a URL as input, such as Page Rules, WAF custom rules, Workers, and Access. | ||
| * When disabled, incoming URLs are not normalized before passing to subsequent Cloudflare features. | ||
| - **Normalize incoming URLs** (default: _On_) | ||
|
|
||
| * **Normalize URLs to origin** (default: *Off*) | ||
| - Configures the URLs of all incoming traffic to Cloudflare: | ||
|
|
||
| * Configures URLs sent to the origin: | ||
| - When enabled, all incoming URLs are normalized before they pass to subsequent Cloudflare features that can receive a URL as input, such as Page Rules, WAF custom rules, Workers, and Access. | ||
| - When disabled, incoming URLs are not normalized before passing to subsequent Cloudflare features. | ||
|
|
||
| * When enabled, requests sent to the origin are normalized. | ||
| * When disabled, requests sent to the origin are not modified. | ||
| - **Normalize URLs to origin** (default: _Off_) | ||
|
|
||
| * You can only view and enable this option when **Normalize incoming URLs** is enabled. | ||
| - Configures URLs sent to the origin: | ||
|
|
||
| - When enabled, requests sent to the origin are normalized. | ||
| - When disabled, requests sent to the origin are not modified. | ||
|
|
||
| - You can only view and enable this option when **Normalize incoming URLs** is enabled. | ||
|
|
||
| For examples of how these settings affect URL normalization, refer to the [URL normalization examples](/rules/normalization/examples/). |
6 changes: 2 additions & 4 deletions
6
src/content/docs/rules/url-forwarding/bulk-redirects/create-api.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.