请问如何使用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 conf是:
<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
谢谢
答案 0 :(得分:1)
如果这有助于其他任何人;
我遇到了同样的问题,但在我的情况下缺少磁盘空间。我删除了一些大型备份,并用service httpd restart
重新启动了apache,我的gitlab又回来了。