Adds root redirect feature
What does this MR do and why?
This MR is fixing the problem from gitlab-com/gl-infra/tenant-scale/cells-infrastructure/team#237 (closed)
- Adds root redirect feature
- Adds
root_redirectto application settings, - when enabled, it will send updated status response and cache-control header.
Changelog: added
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
prerequisite: https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/howto/cells.md
- Checkout the branch
- Follow the video and gitlab-com/gl-infra/tenant-scale/cells-infrastructure/team#237 (closed) steps to reproduce it
- Enable the
root_redirectfeature from Admin UI orrails console - Verify that redirect works as expected
🎉
Edited by Bojan Marjanovic