-
Change Request
-
Resolution: Fixed
-
Minor
-
5.4.0
-
None
-
Sprint 77 (Jun 2021)
-
1
If Gitlab works over HTTPS template is not able to fetch metrics.
curl localhost:443/-/metrics
<html> <head><title>400 The plain HTTP request was sent to HTTPS port</title></head> <body> <center><h1>400 Bad Request</h1></center> <center>The plain HTTP request was sent to HTTPS port</center> <hr><center>nginx</center> </body> </html>
Proposed change:
from {$GITLAB.URL}:{$GITLAB.PORT}
to {$GITLAB.PROTOCOL}://{$GITLAB.URL}:{$GITLAB.PORT}