1server {
2    listen 80 default_server;
3    listen [::]:80 default_server;
4
5    server_name _;
6
7    location / {
8        dav_methods     PUT;
9        dav_ext_methods PROPFIND OPTIONS;
10        dav_access      user:rw group:rw all:r;
11
12        client_body_temp_path   /tmp;
13        client_max_body_size    0;
14        create_full_put_path    on;
15
16        root /results;
17
18        autoindex     on;
19    }
20}
21