mirror of
https://github.com/kubesphere/website.git
synced 2025-12-26 00:12:48 +00:00
fix: Disable docs url
Signed-off-by: lannyfu <lannyfu@kubesphere.io>
This commit is contained in:
parent
d71584ff10
commit
39087f648b
11
netlify.toml
11
netlify.toml
|
|
@ -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"
|
||||
Loading…
Reference in New Issue