26 lines
507 B
YAML
26 lines
507 B
YAML
![]() |
serve-path: '.'
|
||
|
bind: 0.0.0.0
|
||
|
port: 5000
|
||
|
path-prefix: /dufs
|
||
|
hidden:
|
||
|
- tmp
|
||
|
- '*.log'
|
||
|
- '*.lock'
|
||
|
auth:
|
||
|
- admin:admin@/:rw
|
||
|
- user:pass@/src:rw,/share
|
||
|
- '@/' # According to the YAML spec, quoting is required.
|
||
|
allow-all: false
|
||
|
allow-upload: true
|
||
|
allow-delete: true
|
||
|
allow-search: true
|
||
|
allow-symlink: true
|
||
|
allow-archive: true
|
||
|
enable-cors: true
|
||
|
render-index: true
|
||
|
render-try-index: true
|
||
|
render-spa: true
|
||
|
log-format: '$remote_addr "$request" $status $http_user_agent'
|
||
|
log-file: ./dufs.log
|
||
|
compress: low
|