Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
add comment

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.

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
1  
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... github.com/arut/nginx-dav-ext-module/issues/3 –  MariusPontmercy Aug 12 '13 at 10:40
add comment

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
add comment

Your Answer

 
discard

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.