diff --git a/infrastructure/test-contour/guides/index.md b/infrastructure/test-contour/guides/index.md deleted file mode 100644 index b59a01a..0000000 --- a/infrastructure/test-contour/guides/index.md +++ /dev/null @@ -1,3 +0,0 @@ ---- -redirect: /infrastructure/test-contour/guides/overview ---- diff --git a/nginx.conf b/nginx.conf index c8ffc61..8699aec 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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; }