mlorenzo-stratio / docker-nginx-webdav

Webdav server based on nginx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Supported tags and respective Dockerfile links

How to use this image

$ docker run --name webdav -p 8080:80 -v /data/webdav/media:/media -v /data/webdav/config/default.conf:/etc/nginx/conf.d/default.conf -d olopopo/docker-nginx-webdav

In order for nginx to be able to write to /media the permissions must be set for user id 33 on the mapped folder /media. This is done automatically before starting nginx.

This will start a webdav server listening on the default port of 80 mapped to port 8080 on localhost. Then access it via http://localhost:8080 or http://host:80 in a browser.

It will serve files located in your /media folder

PUT, DELETE, MKCOL, COPY, MOVE and PUT methods will be restricted only to the host specified in WRITE_HOST variable

Localtime can be set by specifying LOCALZONE="Europe/Madrid" for instance

About

Webdav server based on nginx

License:MIT License