I have set the following configuration:
location /upl {
root /storage/www/upl/data;
client_body_temp_path /storage/www/upl/client_tmp;
dav_methods PUT DELETE MKCOL COPY MOVE;
create_full_put_path on;
dav_access group:rw all:r;
}
I upload a file with: curl -T test.txt http://x.xx.xx.xx:8080/upl
All of my files end up in data folder but all files have the same name "upl" the same as the location ?! Why :S
Please help
BR,
You can do this by specifying filename into URL, without using any external module :
And use : curl -T test.txt http://x.xx.xx.xx:8080/upl/text.txt
According to Wikipedia, Nginx has a very limited optional WebDAV module and a third-party module, the ngx_http_dav_module.
Servers & Clients Supported
https://en.wikipedia.org/wiki/WebDAV