##
##  webdav.yaml -- WebDAV Server Configuration
##

address:  127.0.0.1
port:     8888

cors:
    -   enabled: true
        allowed_hosts: "*"

tls:      false
cert:     "@l_prefix@/etc/x509/example-server.crt.pem"
key:      "@l_prefix@/etc/x509/example-server.key.pem"

auth:     true

scope:    @l_prefix@/var/webdav/data
modify:   true
rules:    []

users:
    -   username:  admin
        password:  admin
        modify:    true

    -   username:  example
        password:  example
        modify:    true
        rules:
        -   allow: true
            regex: true
            path:  /

