Gitlab6.0 and Apache2

孤者浪人 提交于 2020-01-01 18:58:35

问题


please how to set Github 6.0 with Apache2?

Gitlab is installed according to the original instructions

Adjustment in 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"
    ...

My Apache2 conf is :


    <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>

Bud i get :


    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

Thank you


回答1:


In case this helps anyone else;

I had this same problem, but it was a lack of disk space in my case. I deleted some large backups and restarted apache with service httpd restart and my gitlab came back.



来源:https://stackoverflow.com/questions/18726489/gitlab6-0-and-apache2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!