Hi all, I wish to install nginx as a WebDAV server to serve my GIT repos. But I failed. I've installed Nginx 1.2.5 to my server with both http_dav_module and nginx-dav-ext-module <https://github.com/arut/nginx-dav-ext-module>. Then I configure the server like this: server { listen 80; server_name foobar.com; charset utf-8; dav_methods PUT DELETE MKCOL COPY MOVE; dav_ext_methods PROPFIND OPTIONS; # turn on auth_basic auth_basic "Private area"; auth_basic_user_file "/var/gitrepos/.htpasswd"; create_full_put_path on; dav_access group:rw all:r; location / { root /var/gitrepos; index index.html index.htm; autoindex on; } location ~ /\.ht { deny all; } } The server start successfully. And I've created some repo on the server side. Then when I tried to push something to the server, git reports an error: "error: no DAV locking support on http://user@foobar.com/test-repo/" And when I try to clone a repo that I created and pushed earlier on server, I get this error: "warning: You appear to have cloned an empty repository" I'm confused. Please give me some suggestion. Thanks! Koala
on 2012-11-14 05:21
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.