On Thu, 29 Oct 2015 01:17:58 -0700 (PDT)
Péricé Robin <perice.ro...@gmail.com> wrote:

> > > I want (if possible) to use git behind a nginx reverse proxy.
> > > This is my configuration. 
[...]
> > > I have 2 virtual machines. The first one host Nginx and the
> > > second host my Git repositories. I can access to git repositories
> > > usig Git VM dynamic ip (84.39.XX.XX), but it would be awesome if
> > > I can do *git clone* (etc ...) on* scm.domain.fr* instead of the
> > > dynamic-ip (of course I need this because I don't want everybody
> > > to know my Git VM ip...). 
> > > 
> > > Is this possible with a Nginx reverse-proxy ? 
> >
> > What protocol are you using when doing `git clone` from your Git
> > VM? 
> >
> I want to use ssh protocole.

Then the "stream proxy" module [1] appears to be the thing you want to
look at: it allows proxying of arbitrary TCP traffic, so basically you'd
want to set it up so that it proxies connections to 22/TCP to your VM.

1. http://nginx.org/en/docs/stream/ngx_stream_proxy_module.html

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to