nginx: Add missing WebDAV methods support (PROPFIND & OPTIONS)
authorRuixi Zhou <zhouruixi@gmail.com>
Sun, 12 Aug 2018 06:23:50 +0000 (14:23 +0800)
committerRuixi Zhou <zhouruixi@gmail.com>
Tue, 21 Aug 2018 00:14:44 +0000 (08:14 +0800)
commitfa257720ab9c36abd5e9f3fcc099fb27a66555df
tree3bc9d77a9c99c7dc60b70fe35d53fefe9d157fea
parentd9749c257b733ed3f193d7c22512a89ebd32a29b
nginx: Add missing WebDAV methods support (PROPFIND & OPTIONS)

Nginx provide WebDAV methods PUT, DELETE, MKCOL, COPY, and MOVE with
http_dav_module. But most WebDAV clients that require additional WebDAV
methods (PROPFIND & OPTIONS) to operate. Add missing methods support
with Arutyunyan Roman (arutyunyan.roman@gmail.com)'s nginx-dav-ext-module.
(see: http://nginx.org/en/docs/http/ngx_http_dav_module.html
https://github.com/arut/nginx-dav-ext-module)

Example config:
location / {
dav_methods PUT DELETE MKCOL COPY MOVE;
dav_ext_methods PROPFIND OPTIONS;

root /var/root/;
}

Signed-off-by: Ruixi Zhou <zhouruixi@gmail.com>
net/nginx/Makefile