We have installed GitLab CE 16.8.1 on Red Hat Enterprise Linux version 8.9 but are encountering a 502 error. We have conducted basic troubleshooting for this issue and everything appears to be in order (sufficient memory and RAM, open port 80, correctly assigned DNS, and running services).
We also checked the production.log but did not find any logs related to the 502 error.
Please help.
This is a health URL result output:
HTTP/1.1 502 Bad Gateway
Server: nginx
Date: Thu, 08 Feb 2024 11:07:05 GMT
Content-Type: text/plain; charset=utf-8
Content-Length: 12
Connection: keep-alive
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Pragma: no-cache