-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcf-waf-block.html
More file actions
219 lines (203 loc) · 11.2 KB
/
cf-waf-block.html
File metadata and controls
219 lines (203 loc) · 11.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
<!DOCTYPE html>
<html lang="en" data-theme="dark">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Security-first Cloudflare WAF block page template with multilingual copy, Ray ID guidance, and ready-to-use support links." />
<link rel="canonical" href="https://error.zakk.au/cf-waf-block" />
<meta name="robots" content="index,follow" />
<meta name="googlebot" content="index,follow,max-snippet:-1,max-image-preview:large,max-video-preview:-1" />
<meta name="bingbot" content="index,follow,max-snippet:-1,max-image-preview:large,max-video-preview:-1" />
<meta name="theme-color" content="#0f172a" />
<meta property="og:title" content="Cloudflare WAF Block Template | Zakk" />
<meta property="og:description" content="Showcase a polished 403 WAF block experience with trust-building messaging, multilingual support, and Ray ID context." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://error.zakk.au/cf-waf-block" />
<meta property="og:image" content="https://error.zakk.au/koala_3d.webp" />
<meta property="og:site_name" content="Zakk Cloudflare Pages" />
<meta property="og:locale" content="en_US" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Cloudflare WAF Block Template | Zakk" />
<meta name="twitter:description" content="Deliver a reassuring Cloudflare WAF block page with clear next steps and easy escalation paths." />
<meta name="twitter:image" content="https://error.zakk.au/koala_3d.webp" />
<link rel="alternate" hreflang="en" href="https://error.zakk.au/cf-waf-block" />
<link rel="alternate" hreflang="zh-Hant" href="https://error.zakk.au/cf-waf-block?lang=zh-Hant" />
<link rel="alternate" hreflang="zh-Hans" href="https://error.zakk.au/cf-waf-block?lang=zh-Hans" />
<link rel="alternate" hreflang="x-default" href="https://error.zakk.au/cf-waf-block" />
<title>WAF Block</title>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebPage",
"name": "Cloudflare WAF Block Template",
"url": "https://error.zakk.au/cf-waf-block",
"description": "Security-first Cloudflare WAF block page template with multilingual copy and Ray ID guidance.",
"inLanguage": ["en", "zh-Hant", "zh-Hans"],
"isPartOf": {
"@type": "WebSite",
"name": "Zakk Cloudflare Error Pages",
"url": "https://error.zakk.au/"
}
}
</script>
<script>
(function () {
var storageKey = "cfThemePreference";
var root = document.documentElement;
if (!root) {
return;
}
var applyTheme = function (value) {
var normalized = value === "dark" ? "dark" : "light";
root.setAttribute("data-theme", normalized);
if (root.style) {
root.style.colorScheme = normalized;
}
};
var systemPreference = function () {
if (!window.matchMedia) {
return null;
}
try {
if (window.matchMedia("(prefers-color-scheme: dark)").matches) {
return "dark";
}
if (window.matchMedia("(prefers-color-scheme: light)").matches) {
return "light";
}
} catch (error) {}
return null;
};
var storedTheme = null;
try {
var stored = window.localStorage.getItem(storageKey);
if (stored === "dark" || stored === "light") {
storedTheme = stored;
}
} catch (error) {}
var resolved = storedTheme || systemPreference() || "dark";
applyTheme(resolved);
if (!storedTheme && window.matchMedia) {
var queries = ["(prefers-color-scheme: dark)", "(prefers-color-scheme: light)"];
var handleSystemChange = function () {
var next = systemPreference();
applyTheme(next || "dark");
};
for (var i = 0; i < queries.length; i++) {
try {
var mql = window.matchMedia(queries[i]);
if (!mql) {
continue;
}
if (typeof mql.addEventListener === "function") {
mql.addEventListener("change", handleSystemChange);
} else if (typeof mql.addListener === "function") {
mql.addListener(handleSystemChange);
}
} catch (error) {}
}
}
})();
</script>
<link rel="stylesheet" href="output.css" />
</head>
<body class="relative min-h-screen bg-slate-950 text-slate-100 antialiased" data-page="cfWafBlock">
<div class="pointer-events-none absolute inset-0 overflow-hidden">
<div class="absolute left-[18%] top-[-32%] h-[46rem] w-[46rem] -translate-x-1/2 rounded-full bg-sky-500/25 blur-[220px]"></div>
<div class="absolute right-[-12%] top-[-26%] h-[42rem] w-[42rem] rounded-full bg-indigo-500/20 blur-[210px]"></div>
<div class="absolute bottom-[-32%] right-[-15%] h-[36rem] w-[36rem] rounded-full bg-cyan-500/15 blur-[170px]"></div>
</div>
<div class="relative flex min-h-screen flex-col">
<header class="mx-auto w-full max-w-6xl px-6 pt-12">
<div class="flex flex-wrap items-center justify-between gap-4">
<div class="flex items-center gap-4">
<div class="flex h-14 w-14 items-center justify-center rounded-2xl border border-white/15 bg-white/10 shadow-lg shadow-sky-500/20">
<img
src="koala_3d.webp"
alt="Zakk logo"
class="h-9 w-9"
onerror="this.onerror=null;this.src='logo.svg';"
/>
</div>
<div>
<p class="text-xs uppercase tracking-[0.35em] text-sky-300/70" data-i18n="categoryLabel">WAF Block</p>
<p class="text-2xl font-semibold leading-tight text-white" data-i18n="brandName">Zakk</p>
</div>
</div>
<div class="flex items-center gap-3">
<a
href="https://error.zakk.au"
class="inline-flex items-center rounded-full border border-white/10 bg-white/5 px-4 py-2 text-xs text-white/60 shadow-inner transition hover:border-sky-400/40 hover:text-white focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-300"
aria-label="Visit error.zakk.au"
>
<span class="font-medium text-white/80">error.zakk.au</span>
</a>
<button
type="button"
class="theme-toggle"
data-theme-toggle
data-i18n="themeToggleLabel"
data-i18n-attr="aria-label"
>
<span class="theme-toggle__icon" data-theme-icon="sun" aria-hidden="true">☀</span>
<span class="theme-toggle__icon" data-theme-icon="moon" aria-hidden="true">🌙</span>
<span class="sr-only" data-i18n="themeToggleLabel">Toggle color theme</span>
</button>
</div>
</div>
</header>
<main class="mx-auto w-full max-w-6xl flex-1 px-6 py-12">
<div class="grid gap-8 xl:grid-cols-[minmax(0,1.65fr)_minmax(0,1fr)]">
<section class="rounded-3xl border border-white/10 bg-white/10 p-10 shadow-2xl shadow-sky-500/15 backdrop-blur-xl">
<div class="cf-badge" data-i18n="categoryLabel">WAF Block</div>
<h1 class="mt-6 text-4xl font-semibold tracking-tight text-white sm:text-5xl" data-i18n="status" data-i18n-mode="html">
<span class="font-normal">403</span> Forbidden
</h1>
<p class="mt-4 text-lg leading-relaxed text-white/70" data-i18n="messageMain">
Your request triggered a Web Application Firewall rule and was blocked to keep this site safe.
</p>
<div class="mt-8 space-y-4">
<div class="rounded-2xl border border-white/15 bg-slate-950/30 p-5 text-sm leading-relaxed text-white/70" data-i18n="messageSecondary" data-i18n-mode="html">
If you believe this was a mistake, please contact the site owner or open a
<a class="font-semibold text-sky-300 hover:text-sky-200" href="mailto:admin@zakk.au?subject=WAF%20Block%20|%20Ray%20ID:::RAY_ID::&body=Please include any details that can help us allow your access.">support ticket.</a>
</div>
</div>
</section>
<aside class="flex h-full flex-col justify-between gap-8 rounded-3xl border border-white/10 bg-slate-950/40 p-8 shadow-xl shadow-sky-500/10 backdrop-blur-xl">
<div>
<h2 class="text-xs uppercase tracking-[0.3em] text-white/50">Request details</h2>
<div class="mt-6 space-y-3">
<div class="rounded-2xl border border-white/10 bg-white/5 px-4 py-3 font-mono text-sm text-sky-100/80" data-i18n="ray">Ray ID: ::RAY_ID::</div>
<div class="rounded-2xl border border-white/10 bg-white/5 px-4 py-3 font-mono text-sm text-sky-100/80" data-i18n="clientIp">Client IP: ::CLIENT_IP::</div>
</div>
</div>
<p class="text-xs leading-relaxed text-white/50" data-i18n="rayHelp">
Cloudflare Ray IDs refresh with every request. Share them with our support team to help us trace the issue quickly.
</p>
</aside>
</div>
</main>
<footer class="mx-auto w-full max-w-6xl px-6 pb-12">
<div class="rounded-2xl border border-white/10 bg-white/5 px-6 py-5 text-xs text-white/60 shadow-inner shadow-sky-500/10">
<div class="flex flex-col gap-4 md:flex-row md:items-center md:justify-between">
<div class="flex flex-wrap items-center gap-3 text-white/70">
<span class="text-sm font-semibold text-white">Zakk</span>
<span class="hidden h-3 w-px bg-white/15 sm:block" aria-hidden="true"></span>
<span class="text-xs text-white/60">Cloudflare custom pages suite</span>
</div>
<div class="flex flex-wrap items-center gap-x-4 gap-y-2 text-xs">
<a href="https://github.com/Zakkaus/cf-pages" class="font-medium text-sky-200/80 transition hover:text-sky-100" target="_blank" rel="noopener noreferrer">Source code</a>
<span class="hidden h-3 w-px bg-white/15 sm:block" aria-hidden="true"></span>
<a href="https://zakk.au" class="font-medium text-sky-200/80 transition hover:text-sky-100" target="_blank" rel="noopener noreferrer">Blog</a>
<span class="hidden h-3 w-px bg-white/15 sm:block" aria-hidden="true"></span>
<a href="https://help.zakk.au" class="font-medium text-sky-200/80 transition hover:text-sky-100" target="_blank" rel="noopener noreferrer">Forum</a>
<span class="hidden h-3 w-px bg-white/15 sm:block" aria-hidden="true"></span>
<a href="https://error.zakk.au" class="font-medium text-sky-200/80 transition hover:text-sky-100" target="_blank" rel="noopener noreferrer">Error preview</a>
</div>
</div>
</div>
</footer>
</div>
<script src="lang.js" defer></script>
</body>
</html>