Setting up a webDAV server

Maxim Dounin mdounin at mdounin.ru
Fri Dec 31 14:48:41 UTC 2021


Hello!

On Fri, Dec 31, 2021 at 06:59:46AM -0500, BonVonKnobloch wrote:

> I am new to nginx and am trying to get a simple webDAV server running.
> I can use GET to read files, but PUT fails.
> Using opensuse 15.3.

[...]

> nginx.conf is as supplied with the following added in 'server':
> 
> 	location /html/calendar {
> 		root html/calendar;
> 		dav_methods PUT DELETE MKCOL COPY MOVE;
> 		dav_access	group:rw all:r;
> 
> 	}
> and the user changed to 'nginx'
> 
> After an unsuccessful PUT, wireshark shows:
> 'No.	Time	Source	Destination	Protocol	Length	Info
> 17	5.918827416	172.21.42.42	172.21.42.124	HTTP	3133	PUT
> /calendar/Geburtstage.ics HTTP/1.1  (text/calendar)

You've configured DAV methods for "/html/calendar", but try to use 
it in "/calendar/...".

-- 
Maxim Dounin
http://mdounin.ru/


More information about the nginx mailing list