Forum: NGINX nginx + git + trac (without Apache)?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
6bba3d67d2435084b04407dd263b4090?d=identicon&s=25 Stefan Scott (stefanscott)
on 2008-12-02 04:33
Hi -

I've already installed nginx + php-fpm + xcache on a VPS (virual private
server) with 500MB RAM and now I want to install a distributed revision
control system (eg, git) and a bug/issue tracking system (eg, trac). Can
I run nginx + git + trac without installing Apache?

Most of the work I'd be doing would involve building Drupal and Rails
sites, plus I'd sometimes work on other projects involving
less-well-known "formal" languages where I'd be collaborating with
students in other countries - so it sounds like I need a distributed /
decentralized revision control system such as git, rather than a
centralized system like svn. And if I can deploy Rails using thin
(rather than Apache) - then maybe I don't need Apache at all?

I found some posts which seem to indicate that people can use git with
just nginx and without Apache - but maybe lacking some features
involving WebDAV:

And here's some posts which seem to indicate that people can use trac
with just nginx - but in the post from below it also
mentions "access to subversion via Apache mod_dav_svn" and I can't
figure out they're saying I need Apache installed, or I could
*optionally* have it installed:

My instinct tells me that nginx + git + trac without Apache would be a
lightweight and fast combo but I'm hesitant to try doing this until
someone actually confirms that it makes sense.

- Stefan Scott
6bba3d67d2435084b04407dd263b4090?d=identicon&s=25 Stefan Scott (stefanscott)
on 2008-12-02 05:01
Further googling...

Somebody has posted an nginx.conf file to use trac behind nginx:

Elsewhere, somebody says that the lack of support for PROPFIND in the
nginx WebDAV module is a problem, but then there appear to be a couple
of solutions for this:

"Currently this is a showstopper. nginx http_dav_module does not support
PROPFIND method yet, and git-http-push requires it."

(1) Here's one person's approach: "I implemented PROPFIND and
LOCK/UNLOCK stubs in PHP as they are not natively implemented in the
nginx WebDAV module."

(2) And here's an approach from Igor Sysoev: "nginx in proxy mode passes
all methods as is. So mod_svn behind nginx should work."

OK, forgive me if this a dumb question but... does mod_svn only run as
part of Apache? If mod_svn can run alone, then it sounds like Igor's
proposed a solution here to allow git to run behind nginx and support

But this is all new to me, so any advice would be appreciated.

- Stefan Scott
This topic is locked and can not be replied to.