Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.


share|improve this question
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.

share|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
is it still the case now? – Dany Khalife Jul 11 '13 at 13:09
It looks like even the extended dav plugin for NginX will never support SVN... – MariusPontmercy Aug 12 '13 at 10:40

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.

share|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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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