TLS support for metrics endpoints (pprof, prometheus)
!81400 (merged) introduces TLS support for incoming requests. This MR is built on top of it and uses the same [tls]
config in order to provide TLS on metrics endpoints (pprof and prometheus)
Related issue: https://gitlab.com/gitlab-org/gitlab/-/issues/351737