From 260906c3e480cf5ccc1dd9e6e2aef467e2317d41 Mon Sep 17 00:00:00 2001 From: Wilken Rivera Date: Tue, 6 Apr 2021 10:37:05 -0400 Subject: [PATCH] Add redirect for Docker post-processor pages (#10872) Remote plugin docs such as Docker now fall under a top level path named after the provider (e.g https://packer.io/docs/docker/...). This change adds a redirect for the old URLs to the new location. --- website/redirects.next.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/redirects.next.js b/website/redirects.next.js index 58509c343..5bde61274 100644 --- a/website/redirects.next.js +++ b/website/redirects.next.js @@ -211,6 +211,11 @@ module.exports = [ destination: '/docs/builders/vmware/vsphere-:path*', permanent: true, }, + { + source: '/docs/post-processors/docker-:path', + destination: '/docs/post-processors/docker/docker-:path*', + permanent: true, + }, // disallow '.html' or '/index.html' in favor of cleaner, simpler paths { source: '/:path*/index', destination: '/:path*', permanent: true }, { source: '/:path*.html', destination: '/:path*', permanent: true },