Nginx auth_request plus MaxMind City lookup blocks non-Shanghai mainland CN with a fixed notice page for sparkmessenger/sparkmsg (and deploy helpers for the shared Singapore host). Co-authored-by: Cursor <cursoragent@cursor.com>
38 lines
811 B
HTML
38 lines
811 B
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta name="robots" content="noindex,nofollow" />
|
|
<title>访问受限</title>
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #0f1419;
|
|
color: #e7ecf3;
|
|
font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
|
|
}
|
|
main {
|
|
max-width: 28rem;
|
|
padding: 2rem;
|
|
text-align: center;
|
|
}
|
|
p {
|
|
margin: 0;
|
|
font-size: 1.05rem;
|
|
line-height: 1.7;
|
|
color: #c5ced8;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<p>按照相关部门规定大陆地区禁止访问</p>
|
|
</main>
|
|
</body>
|
|
</html>
|