summaryrefslogtreecommitdiffstats
path: root/web/index.php
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-08 12:28:48 +0100
committersalmonik <salmonik@tuta.io>2026-11-08 12:28:48 +0100
commit8681fcf565643f67a36cb1fe571fac7843d2b6af (patch)
tree1f022edb267281da0a2fd0fde3b5336293f14cea /web/index.php
parentweb: match the desktop layout and remove play-money copy (diff)
downloadzagan-bet-8681fcf565643f67a36cb1fe571fac7843d2b6af.tar.gz
zagan-bet-8681fcf565643f67a36cb1fe571fac7843d2b6af.zip
web: disallow crawlers and quiet the game port
Adds robots.txt with Disallow: / plus noindex/X-Robots-Tag on the site and app. The v5 server treats an HTTP request as a malformed frame, closes silently before HELLO, and suppresses the common TLS scanner noise. Deploy now verifies robots.txt.
Diffstat (limited to '')
-rw-r--r--web/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/index.php b/web/index.php
index aa3e359..873e58e 100644
--- a/web/index.php
+++ b/web/index.php
@@ -53,6 +53,7 @@ function human_size(int $bytes): string
53<meta name="viewport" content="width=device-width, initial-scale=1"> 53<meta name="viewport" content="width=device-width, initial-scale=1">
54<title>żagań.bet</title> 54<title>żagań.bet</title>
55<meta name="description" content="Official zagan.bet desktop app, terminal client and server downloads."> 55<meta name="description" content="Official zagan.bet desktop app, terminal client and server downloads.">
56<meta name="robots" content="noindex, nofollow, noarchive">
56<meta http-equiv="Content-Security-Policy" content="default-src 'none'"> 57<meta http-equiv="Content-Security-Policy" content="default-src 'none'">
57</head> 58</head>
58<body> 59<body>