Set proxy_http_version v1.0 for health monitoring endpoints
What does this MR do and why?
This backports !7068 (merged) to 16-2-stable
.
!7006 (merged)
added proxy_http_version 1.1
to all NGINX endpoints to fix an issue
with GitLab Pages and chunked files. However, this causes HTTP
requests to require a Host header. Since the monitoring endpoints just
handle simple GET requests, we don't need to handle chunked files and
can loosen the HTTP version requirement.
Relates to #8099 (closed)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
This MR is backporting a bug fix, documentation update, or spec fix, previously merged in the default branch. -
The original MR has been deployed to GitLab.com (not applicable for documentation or spec changes). -
This MR has a severity label assigned (if applicable).
Note to the merge request author and maintainer
The process of backporting bug fixes into stable branches is tracked as part of an internal pilot. If you have questions about this process, please:
- Refer to the internal pilot issue for feedback or questions.
- Refer to the patch release runbook for engineers and maintainers for guidance.
Edited by Stan Hu