Git clone over ssh after ProxyPass
Created by: jagajaga
Hello.
Used relative_url_path
. So I can access it by /gitlab
.
I have my apache2 server running on a machine A.
I have there
Redirect /gitlab /gitlab/
ProxyPass /gitlab/ http://192.168.0.89/gitlab/
ProxyPassReverse /gitlab/ http://192.168.0.89/gitlab/
So I can access gitlab by mydomain.com/gitlab
.
Everything is ok.
But I can't clone over ssh. (ssh key is added successfully)
git clone [email protected]:user/repo.git
Cloning into 'repo'...
[email protected]'s password:
So the question is: what do I have to do, to enable git clone
over ssh?