A deny of 403 from waf gets rproxy's refused page, a deny of 429 its rate-limited page, each as text/html with waf's other headers kept. With SWW_RPROXY_CONTACT_EMAIL set, the pages' sentence about the operator is a mailto link. Every other answer from waf still goes to the visitor as waf gave it. The two pages are beside the code, as the tests read them.
28 lines
1000 B
HTML
28 lines
1000 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="robots" content="noindex">
|
|
<title>Request refused</title>
|
|
<style>
|
|
:root{color-scheme:light dark;--fg:#1a1a1a;--muted:#5c5c5c;--bg:#f6f6f4}
|
|
@media(prefers-color-scheme:dark){:root{--fg:#ebebe8;--muted:#9a9a96;--bg:#161616}}
|
|
html{background:var(--bg);color:var(--fg);font:16px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
|
|
body{margin:0;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:1.5rem}
|
|
main{max-width:34rem;width:100%}
|
|
p.code{margin:0 0 .5rem;color:var(--muted);font-size:.8rem;letter-spacing:.08em}
|
|
h1{margin:0 0 1rem;font-size:1.6rem;font-weight:600;line-height:1.25}
|
|
p{margin:0 0 1rem}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<p class="code">403</p>
|
|
<h1>Request refused</h1>
|
|
<p>This site did not accept your request.</p>
|
|
<p>If you think this is a mistake, contact the site's operator.</p>
|
|
</main>
|
|
</body>
|
|
</html>
|