You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/cloudflare-one/policies/gateway/block-page.mdx
+41-34Lines changed: 41 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,40 +23,14 @@ If your organization is still using the default Cloudflare certificate, you will
23
23
24
24
In order to display the block page as the URL of the blocked domain, your devices must have a [Cloudflare certificate](/cloudflare-one/connections/connect-devices/user-side-certificates/manual-deployment/) installed. Enterprise users can also [deploy their own root CA certificate](/cloudflare-one/connections/connect-devices/user-side-certificates/custom-certificate/). If you do not install a certificate, the block page [will not display correctly](#certificate-error).
25
25
26
-
## Turn on the block page
27
-
28
-
For all HTTP Block policies, Gateway automatically displays a generic Cloudflare block page. For DNS Block policies, you will need to turn on the block page on a per-policy basis.
1. In [Zero Trust](https://one.dash.cloudflare.com), go to **Settings** > **Custom Pages**.
31
+
2. Under **Account Gateway block page**, select **Customize**.
58
32
59
-
## Redirect to a block page
33
+
###Redirect to a block page
60
34
61
35
Instead of displaying the Cloudflare block page, you can configure Gateway to return a `307` (Temporary Redirect) HTTP response code and redirect to a custom URL.
62
36
@@ -69,15 +43,15 @@ To redirect users to a non-Cloudflare block page:
69
43
70
44
Gateway will now redirect users to a custom page when user traffic matches a Block policy with the block page configured.
71
45
72
-
## Customize the block page
46
+
###Customize the block page
73
47
74
48
<Renderfile="gateway/customize-block-page" />
75
49
76
-
### Add a logo image
50
+
####Add a logo image
77
51
78
52
<Renderfile="gateway/add-logo-image" />
79
53
80
-
### Allow users to email an administrator
54
+
####Allow users to email an administrator
81
55
82
56
You can add a Mailto link to your custom block page, which allows users to directly email you about the blocked site. When users select **Contact your Administrator** on your block page, an email template opens with the email address and subject line you configure, as well as the following diagnostic information:
83
57
@@ -91,6 +65,39 @@ You can add a Mailto link to your custom block page, which allows users to direc
91
65
| Device ID | The ID of the device that visited the page. This is generated by the WARP client. |
92
66
| Block Reason | Your policy-specific block message. |
93
67
68
+
## Turn on the block page
69
+
70
+
For DNS Block policies, you will need to turn on the block page for each policy. For HTTP Block policies, Gateway automatically displays your global block page setting by default. You can override the global setting for HTTP policies on a per-policy basis.
71
+
72
+
To turn on the block page for an individual policy:
Copy file name to clipboardExpand all lines: src/content/partials/cloudflare-one/gateway/add-block-page.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,8 @@ import { Markdown } from "~/components";
10
10
2. Select **Add a policy** to create a new policy, or choose the policy you want to customize and select **Edit**. You can only edit the block page for policies with a Block action.
11
11
3. Under **Configure policy settings**, {props.blockBehaviorAction}**Modify Gateway block behavior**.
12
12
4. Choose your block behavior:
13
-
-**Use account-level block setting**: Use the global block page setting configured in your account settings. This can be either an [HTTP redirect](/cloudflare-one/policies/gateway/block-page/#redirect-to-a-block-page) or a [custom Cloudflare block page](/cloudflare-one/policies/gateway/block-page/#customize-the-block-page).
13
+
-**Use account-level block setting**: Use the global block page setting configured in your account settings. The global setting can be either an [HTTP redirect](/cloudflare-one/policies/gateway/block-page/#redirect-to-a-block-page) or a [custom Cloudflare block page](/cloudflare-one/policies/gateway/block-page/#customize-the-block-page).
14
14
-**Override account setting with URL redirect**: Redirect users with a `307` HTTP redirect to a URL you specify on a policy level.
15
15
5. Select **Save policy**.
16
16
17
-
Gateway will display a custom message in your users' browsers when they are blocked by this policy.
17
+
Depending on your settings, Gateway will display a block page in your users' browsers or redirect them to a specified URL when they are blocked by this policy.
0 commit comments