Hey all, I've been migrating some of my machines to be using nginx + php-fpm and ditched apache. However this is not an easy task as I haven't found a way to serve subversion off http using nginx only. Is that even possible? I know apache offer the mod_dav_svn module and many more modules but I'm not sure nginx offer the equivalent.

Thanks

link|improve this question

feedback

2 Answers

up vote 3 down vote accepted

AFAIK nginx has no svn/dav support at all.

The only way is to keep an Apache instance with mod_dav_svn module up and running and proxy all svn requests from nginx to Apache.

link|improve this answer
This is exactly what I am doing right now - too bad I can't ditch Apache completely. – Adam Benayoun Aug 2 '10 at 9:33
nginx has dav support. Not sure subversion works with it. – rzab Aug 2 '10 at 9:58
nginx has not full web_dav implementation so there is not possible to use svn with nginx – SaveTheRbtz Aug 2 '10 at 12:44
feedback

Personally I just use svnserve, it seems lightweight enough and has handled all my subversion needs. Often people don't actually use the full feature set offered by using Apache.

link|improve this answer
Is it possible to use ldap authentication with svnserve? That was why I switched from svnserve to apache, allowing me to easily manage people who had access to my repositories. – Adam Benayoun Aug 3 '10 at 11:01
svnserve can use SASL which, if I remember correctly, can use LDAP. I have never tried it before, though. To be honest I'm not sure the setup time is worth it, Apache isn't that bad of a resource hog when it's not used for actual web serving. – Martin Fjordvald Aug 3 '10 at 15:48
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.