mirror of
https://github.com/kubesphere/website.git
synced 2025-12-25 15:32:54 +00:00
fix: Disable doc url
Signed-off-by: lannyfu <lannyfu@kubesphere.io>
This commit is contained in:
parent
d573a4fd68
commit
53fa4b0b88
14
netlify.toml
14
netlify.toml
|
|
@ -28,3 +28,17 @@
|
|||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "^/(zh/)?docs/(v3\\.3|v3\\.4|v4\\.1)(/.*)?$"
|
||||
to = "/404.html"
|
||||
status = 404
|
||||
force = true
|
||||
conditions = { Role = "all" }
|
||||
|
||||
[[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