fix: Disable docs url

Signed-off-by: lannyfu <lannyfu@kubesphere.io>
This commit is contained in:
lannyfu 2025-07-31 10:01:28 +08:00
parent d71584ff10
commit 39087f648b

View File

@ -28,3 +28,14 @@
status = 301
force = true
[[redirects]]
from = "^(/zh)?/docs/(v3\\.3|v3\\.4|v4\\.1)(/.*)?$"
to = "/404.html"
status = 404
force = true
[[headers]]
for = "^(/zh)?/docs/(v3\\.3|v3\\.4|v4\\.1)(/.*)?$"
[headers.values]
Cache-Control = "no-store, max-age=0"
X-Robots-Tag = "noindex, nofollow"