issues/27: nginx redirect guides to overview

This commit is contained in:
Valery Petrov
2026-05-28 14:01:57 +03:00
parent 26f79e8e34
commit 459f556934
2 changed files with 7 additions and 3 deletions
@@ -1,3 +0,0 @@
---
redirect: /infrastructure/test-contour/guides/overview
---
+7
View File
@@ -5,6 +5,13 @@ server {
index index.html;
# VitePress cleanUrls: each page is a *.html file on disk
location = /infrastructure/test-contour/guides {
return 301 /infrastructure/test-contour/guides/overview;
}
location = /infrastructure/test-contour/guides/ {
return 301 /infrastructure/test-contour/guides/overview;
}
location / {
try_files $uri $uri.html $uri/ $uri/index.html =404;
}