日志报错如下
tailf gitlab_error.log
2024/03/21 10:57:41 [error] 7177#7177: *155 connect() to unix://var/opt/gitlab/gitlab-rails/sockets/gitlab.socket failed (111: Connection refused) while connecting to upstream, client: 221.226.210.8, server: xxx.xxx.xxx.xxx, request: "GET /favicon.ico HTTP/1.1", upstream: "http://unix://var/opt/gitlab/gitlab-rails/sockets/gitlab.socket:/favicon.ico", host: "xxx.xxx.xxx.xxx:9001", referrer: "http://xxx.xxx.xxx.xxx:9001/"
网上说是权限的问题,按照教程赋予了权限,打开依旧 502
chmod -R o+x /var/opt/gitlab/gitlab-rails/