我得到了502的呼呼,GitLab花了太多的时间来回应我在CENTOS 8 (nginx/1.16.1)上新的手动安装Gitlab 13.2.4的错误。
我下载了rpm 64.rpm
dnf -y install policycoreutils-python-utilsrpm -Uvh gitlab-ce-13.2.4-ce.0.el8.x86_64.rpm/etc/gitlab/gitlab.rb >> external_url "https://git.mydomain.com"/etc/gitlab/gitlab.rb >> nginx['enable'] = false/etc/gitlab/gitlab.rb >> web_server['external_users'] = ['nginx']/etc/gitlab/gitlab.rb >> gitlab_rails['trusted_proxies'] = [ '172.16.1.0/24', '192.168.10.0/24']/etc/nginx/conf.d/git.mydomain.com.conf >> https://gitlab.com/gitlab-org/gitlab-foss/-/raw/master/lib/support/nginx/gitlab-sslsystemctl restart nginxgitlab-ctl reconfigure发布于 2020-08-16 15:29:18
我的selinux阻止了url的运行。可能是gitlab目录访问。我运行了setenforce 0,它起了作用(但这不是一个好的实践)。
编辑: chcon -R -t httpd_sys_rw_content_t /var/opt/gitlab/
https://stackoverflow.com/questions/63419512
复制相似问题