Files
nidus/config.yaml
T
2026-04-23 21:56:59 +02:00

35 lines
830 B
YAML

server:
host: "0.0.0.0"
port: 8080
# Set this to your public-facing URL so discovery responses are correct.
# base_url: "https://dav.example.com"
auth:
realm: "My DAV Server"
storage:
data_dir: "./data"
logging:
level: "debug" # debug | info | warn | error
format: "text" # text | json
tls:
enabled: false
# cert_file: "/etc/ssl/certs/dav.crt"
# key_file: "/etc/ssl/private/dav.key"
# Users: passwords must be bcrypt hashes.
# Generate with: htpasswd -nB alice
# or in Go: bcrypt.GenerateFromPassword([]byte("secret"), bcrypt.DefaultCost)
users:
alice:
password: "$2a$10$9.WEs0uz5TaNJLQbSTLrX.Te.BIe8XTTykVRzZbSHQMEkyFb8Sq/O" # mysecretpassword
display_name: "Alice Smith"
email: "alice@example.com"
calendars:
- personal
- work
address_books:
- contacts