Gitlab 6.0和Apache2

Gitlab 6.0和Apache2,apache2,ubuntu-12.04,gitlab,Apache2,Ubuntu 12.04,Gitlab,请说明如何使用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" ... ... #听“/home/git/gitlab/tmp/

请说明如何使用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" ... ... #听“/home/git/gitlab/tmp/sockets/gitlab.socket”,backlog=>64 #听“127.0.0.1:8080”,tcp_nopush=>true 听“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> ServerName git.domain.com ErrorLog/var/log/apache2/gitlab_error.log CustomLog/var/log/apache2/gitlab_access.log组合 代理请求关闭 代理主机 ProxyPass/http://127.0.0.1:8080/ ProxyPassReverse/ 命令拒绝,允许 通融 巴德,我得到:

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 代理服务器从上游服务器接收到无效响应。 代理服务器无法处理请求GET/users/sign\u in。 原因:从远程服务器读取时出错
如果这对其他人有帮助,谢谢你


我也有同样的问题,但我的情况是磁盘空间不足。我删除了一些大型备份,并使用
服务httpd restart重新启动了apache,我的gitlab又回来了。

我解决了这个问题。我将unicorn.rb超时设置为700。然后问题停止了。