issues/27: nginx redirect guides to overview
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
---
|
|
||||||
redirect: /infrastructure/test-contour/guides/overview
|
|
||||||
---
|
|
||||||
@@ -5,6 +5,13 @@ server {
|
|||||||
index index.html;
|
index index.html;
|
||||||
|
|
||||||
# VitePress cleanUrls: each page is a *.html file on disk
|
# 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 / {
|
location / {
|
||||||
try_files $uri $uri.html $uri/ $uri/index.html =404;
|
try_files $uri $uri.html $uri/ $uri/index.html =404;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user