server { listen 80; root /data; location / { dav_methods PUT DELETE; create_full_put_path on; autoindex on; autoindex_format json; } }