S
S
Sergey2012-06-10 17:29:37
git
Sergey, 2012-06-10 17:29:37

How to set up your private GIT repository?

I decided to create my own private GIT repository on my server for one project. And everything would be fine if the WebDAV module for nginx allowed pushing to the server. But alas, it is not.

From some version of GIT there appeared such a thing as git-http-backend, which, theoretically, can be made to work as a backend for nginx via fastcgi. But somehow there is little detailed information on the Internet. More precisely, there is plenty of it, but the fcgiwrap configuration step, etc. somehow omitted everywhere.

The question may be a little silly, but how to configure nginx configs so that all requests would be transferred to git-http-backend?

I really don't want to install Apache just for the sake of Gita. I saw a lot of solutions on the net, but since I am not an expert in system administration, for me some of the configuration steps remain a mystery.

The server is running on Debian Squeeze.

I will be glad for any help. Links to articles, personal experience of settings, etc.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
E
Evgeny Yablokov, 2012-06-10
@Gular

Why do you want to use the http method? ssh is not suitable for pushing?

N
northbear, 2012-06-10
@northbear

The tasks of the server are not entirely clear ... How many participants are in the project. Access to turnips on LAN or from public networks too? And yes, why http? What is wrong with the standard ssh transport?
We use Gitolite ourselves and strongly advise you…

1
1101_debian, 2012-06-10
@1101_debian

Get yourself Gitlab and don't worry.

A
andrew_tch, 2012-06-11
@andrew_tch

www.noop.lv/2011/01/06/gitosis-setup-step-by-step/
my manual is just for such cases

B
btd, 2012-06-11
@btd

I'll add my 5 cents. If java doesn't bother you, you can look at github.com/btd/luna.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question