Thanks you a lor Ulrich. I didn't explain but the goal of this is to resolve a 502 error when cloning big project from external connection :
*Cloning into 'my-project'...* *error: RPC failed; result=22, HTTP code = 502* *fatal: The remote end hung up unexpectedly* We already raise the timeout value but it's not a workaround... Do you have any idea to resolve this error ? Thanks you Le mardi 12 mai 2015 16:35:23 UTC+2, GREGORY BOUE a écrit : > > Hi, > > I did a lot of searches on internet but I didn't find a solution so I post > my question here. > > In my company, there is Gitlab on server Ubuntu 12.04. It's reachable > throught an apache frontend (Apache 2.2.23). > The url of the frontend is : *http://frontend.com/ <http://frontend.com/>* > A reverse proxy has been configured in httpd.conf of apache frontend and > the gitlab server is reachable from this url : > *http://frontend.com/sources/ <http://frontend.com/sources/> *On the > gitlab server, the *relative_root_url* has been set to /sources. > I created my ssh key and associated it to my gitlab account and it's ok. > > When i try to do this command it's fine : > *git clone http://* > > *frontend.com/sources/mygroup > <http://frontend.com/sources/mygroup>/myproject.git*When i try ssh > connection via gitlab server ip it's fine : > *git clone git@X.X.X.X**:mygroup/myproject.git* > > But when i try ssh connection through the apache frontend : > *git clone git@**frontend.com <http://frontend.com>* > *:mygroup/myproject.git* > or > *git clone git@**frontend.com <http://frontend.com>* > *:sources/mygroup/myproject.git* > > The password for git on frontend.com it's asked. > > I don't know how to configure my frontend and/or my gitlab server to > connect to gitlab through frontend via ssh, Can anyone help me ? > > Thanks you. > -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/43eea08a-081b-4d41-a8d5-085afc0c3ec8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.