diff options
Diffstat (limited to 'shared')
7 files changed, 43 insertions, 0 deletions
diff --git a/shared/pages/group.redirects/custom-domain/config.json b/shared/pages/group.redirects/custom-domain/config.json new file mode 100644 index 00000000..06026e53 --- /dev/null +++ b/shared/pages/group.redirects/custom-domain/config.json @@ -0,0 +1,7 @@ +{ + "domains": [ + { + "domain": "redirects.custom-domain.com" + } + ] +} diff --git a/shared/pages/group.redirects/custom-domain/public/_redirects b/shared/pages/group.redirects/custom-domain/public/_redirects new file mode 100644 index 00000000..42913b7a --- /dev/null +++ b/shared/pages/group.redirects/custom-domain/public/_redirects @@ -0,0 +1,11 @@ +/redirect-portal.html /magic-land.html 302 +/cake-portal.html /still-alive.html 302 +/jobs/* /careers/:splat +/wardrobe.html /narnia.html 302 +/news/:year/:month/:date/:slug /blog/:year/:month/:date/:slug +/pit.html /spikes.html 302 +/goto-domain.html https://GitLab.com/pages.html 302 +/goto-bare-domain.html GitLab.com/pages.html 302 +/goto-schemaless.html //GitLab.com/pages.html 302 +/cake-portal/ /still-alive/ 302 +/file-override.html /should-not-be-here.html 302 diff --git a/shared/pages/group.redirects/group.redirects.gitlab-example.com/public/_redirects b/shared/pages/group.redirects/group.redirects.gitlab-example.com/public/_redirects new file mode 100644 index 00000000..42913b7a --- /dev/null +++ b/shared/pages/group.redirects/group.redirects.gitlab-example.com/public/_redirects @@ -0,0 +1,11 @@ +/redirect-portal.html /magic-land.html 302 +/cake-portal.html /still-alive.html 302 +/jobs/* /careers/:splat +/wardrobe.html /narnia.html 302 +/news/:year/:month/:date/:slug /blog/:year/:month/:date/:slug +/pit.html /spikes.html 302 +/goto-domain.html https://GitLab.com/pages.html 302 +/goto-bare-domain.html GitLab.com/pages.html 302 +/goto-schemaless.html //GitLab.com/pages.html 302 +/cake-portal/ /still-alive/ 302 +/file-override.html /should-not-be-here.html 302 diff --git a/shared/pages/group.redirects/project-redirects/public/_redirects b/shared/pages/group.redirects/project-redirects/public/_redirects new file mode 100644 index 00000000..04c44ee4 --- /dev/null +++ b/shared/pages/group.redirects/project-redirects/public/_redirects @@ -0,0 +1,11 @@ +/project-redirects/redirect-portal.html /project-redirects/magic-land.html 302 +/project-redirects/cake-portal.html /project-redirects/still-alive.html 302 +/project-redirects/jobs/* /project-redirects/careers/:splat +/project-redirects/wardrobe.html /project-redirects/narnia.html 302 +/project-redirects/news/:year/:month/:date/:slug /project-redirects/blog/:year/:month/:date/:slug +/project-redirects/pit.html /project-redirects/spikes.html 302 +/project-redirects/goto-domain.html https://GitLab.com/pages.html 302 +/project-redirects/goto-bare-domain.html GitLab.com/pages.html 302 +/project-redirects/goto-schemaless.html //GitLab.com/pages.html 302 +/project-redirects/cake-portal/ /project-redirects/still-alive/ 302 +/project-redirects/file-override.html /project-redirects/should-not-be-here.html 302 diff --git a/shared/pages/group.redirects/project-redirects/public/file-override.html b/shared/pages/group.redirects/project-redirects/public/file-override.html new file mode 100644 index 00000000..63f14c5e --- /dev/null +++ b/shared/pages/group.redirects/project-redirects/public/file-override.html @@ -0,0 +1 @@ +the file was served! diff --git a/shared/pages/group.redirects/project-redirects/public/index.html b/shared/pages/group.redirects/project-redirects/public/index.html new file mode 100644 index 00000000..985b2786 --- /dev/null +++ b/shared/pages/group.redirects/project-redirects/public/index.html @@ -0,0 +1 @@ +Visit <a href="http://group.redirects.pages.gdk.test:8090/project-redirects/redirect-portal.html">http://group.redirects.pages.gdk.test:8090/project-redirects/redirect-portal.html</a> and get redirected to <a href="http://group.redirects.pages.gdk.test:8090/project-redirects/magic-land.html">http://group.redirects.pages.gdk.test:8090/project-redirects/magic-land.html</a> diff --git a/shared/pages/group.redirects/project-redirects/public/magic-land.html b/shared/pages/group.redirects/project-redirects/public/magic-land.html new file mode 100644 index 00000000..f594fab7 --- /dev/null +++ b/shared/pages/group.redirects/project-redirects/public/magic-land.html @@ -0,0 +1 @@ +Magic land! |