Skip to content

Instantly share code, notes, and snippets.

@shelling
Created June 15, 2012 08:46
Show Gist options
  • Select an option

  • Save shelling/2935474 to your computer and use it in GitHub Desktop.

Select an option

Save shelling/2935474 to your computer and use it in GitHub Desktop.
nginx with full webdav support
# full webdav configuration with
# https://github.com/arut/nginx-dav-ext-module
server {
listen 7500;
access_log /var/log/nginx/localhost.access.log;
error_log /var/log/nginx/localhost.error.log;
location / {
root /home/mogdata;
autoindex on;
dav_methods PUT DELETE MKCOL COPY MOVE;
dav_ext_methods PROPFIND OPTIONS;
client_body_temp_path /tmp;
client_max_body_size 10000m; # 10G
create_full_put_path on;
dav_access all:rw;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment