webdav: add config
This commit is contained in:
parent
ee7ee2b19d
commit
4b5ed5c8a5
13 changed files with 260 additions and 39 deletions
31
roles/webdav/templates/config.toml.j2
Normal file
31
roles/webdav/templates/config.toml.j2
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
address = '0.0.0.0'
|
||||
port = 8018
|
||||
|
||||
# Handled by reverse proxy
|
||||
tls = false
|
||||
|
||||
prefix = '/'
|
||||
debug = false
|
||||
noSniff = false
|
||||
|
||||
behindProxy = true
|
||||
directory = '/mnt/data1/webdav/data'
|
||||
|
||||
permissions = 'R'
|
||||
rulesBehavior = 'overwrite'
|
||||
|
||||
[log]
|
||||
format = 'console'
|
||||
# Color output isn't useful when ingested via systemd
|
||||
colors = false
|
||||
outputs = ['stdout']
|
||||
|
||||
[cors]
|
||||
enabled = false
|
||||
|
||||
[[users]]
|
||||
username = '{{ webdav_user }}'
|
||||
password = '{bcrypt}{{ webdav_password_bcrypt }}'
|
||||
permissions = 'CRUD'
|
||||
|
||||
# vim: ft=toml
|
||||
Loading…
Add table
Add a link
Reference in a new issue