Gitlab6.0和Apache2

2024-04-06

请问如何使用Apache2设置Github 6.0?

按照原来的说明安装Gitlab

Unicorn.rb 中的调整




    ...
    #listen "/home/git/gitlab/tmp/sockets/gitlab.socket", :backlog => 64
    #listen "127.0.0.1:8080", :tcp_nopush => true
    listen "127.0.0.1:8080"
    ...

  

我的 Apache2 配置是:




    <VirtualHost *:80>
        ServerName git.domain.com

        ErrorLog /var/log/apache2/gitlab_error.log
        CustomLog /var/log/apache2/gitlab_access.log combined

        ProxyRequests Off
        ProxyPreserveHost On
        ProxyPass / http://127.0.0.1:8080/
        <Location />
            ProxyPassReverse /
            Order deny,allow
            Allow from all
        </Location>
    </VirtualHost>

  

芽我得到:




    The proxy server received an invalid response from an upstream server.
    The proxy server could not handle the request GET /users/sign_in.

    Reason: Error reading from remote server

  

谢谢


如果这对其他人有帮助;

我也遇到了同样的问题,但我的情况是磁盘空间不足。我删除了一些大型备份并重新启动了 apacheservice httpd restart我的 gitlab 回来了。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Gitlab6.0和Apache2 的相关文章

随机推荐