Sign inSign up

marvambass/webdav

By marvambass

Updated about 7 years ago

my forked and dockerized version of github.com/hacdias/webdav golang webdav server

Image
0

463

marvambass/webdav repository overview

webdav

Build Go Report Card

webdav is a simple tool that creates a WebDAV server for you. By default, it runs on a random free port and supports JSON and YAML configuration. Here is a simple YAML configuration example:

scope: /path/to/files
address: 0.0.0.0
port: 8080
tls: false
cert: cert.pem
key: key.pem
users:
  - username: admin
    password: admin
  - username: encrypted
    password: "{bcrypt}$2y$10$zEP6oofmXFeHaeMfBNLnP.DO8m.H.Mwhd24/TOX2MWLxAExXi4qgi"
  - username: basic
    password: basic
    modify:   false
    rules:
      - regex: false
      - allow: false
      - path: /some/file

You can specify the path to the configuration file using the --config flag. By default, it will search for a config.{yaml,json} file on your current working directory.

An example of how to use this with systemd is on webdav.service.example.

Download it here.

Tag summary

Content type

Image

Digest

Size

5.1 MB

Last updated

about 7 years ago

docker pull marvambass/webdav