dave/examples/config-sample.yaml

65 lines
1.4 KiB
YAML
Raw Normal View History

2018-04-14 20:41:40 +02:00
# ---------------------------------- Network -----------------------------------
#
# The bind address to use
#
address: "0.0.0.0"
#
# The listening port
#
port: "8000"
2018-04-18 15:47:38 +02:00
#
# The prefix path of the server. Default none
#
#prefix: "/"
2018-04-14 20:41:40 +02:00
# ---------------------------- Transport security ------------------------------
#tls:
# keyFile: key.pem
# certFile: cert.pem
# ------------------------
# ---------------------------------- Content -----------------------------------
#
# The provided base dir
#
dir: "/tmp"
# --------------------------------- Basic Auth ---------------------------------
#
# Name of the basic auth realm
#
realm: "dave"
2018-04-14 20:41:40 +02:00
# ----------------------------------- Users ------------------------------------
#
# A list of user definitions
#
users:
#
# user with username 'user', password 'foo' and jailed access to '/tmp/user'
#
user:
password: "$2a$10$yITzSSNJZAdDZs8iVBQzkuZCzZ49PyjTiPIrmBUKUpB0pwX7eySvW"
subdir: "/user"
#
# user with username 'admin', password 'foo' and access to '/tmp'
#
admin:
password: "$2a$10$yITzSSNJZAdDZs8iVBQzkuZCzZ49PyjTiPIrmBUKUpB0pwX7eySvW"
# ---------------------------------- Logging -----------------------------------
#
# Seperated loglevels for file / directory operations. All set to false per
# default instead of error log. The error log is set to true per default.
2018-04-14 20:41:40 +02:00
#
#log:
# error: true
# create: false
# read: false
# update: false
2018-05-18 20:55:58 +02:00
# delete: false