Files
deploy.stack/dufs/config/config.yaml

34 lines
649 B
YAML
Raw Normal View History

2025-02-14 17:32:50 +08:00
serve-path: '.'
bind: 0.0.0.0
port: 5000
path-prefix: /dufs
hidden:
- tmp
- '*.log'
- '*.lock'
- '.git'
- '*.db'
- '.DS_Store'
- '.svn'
2025-02-14 17:32:50 +08:00
auth:
- admin:admin@/:rw
2025-02-14 18:23:20 +08:00
- user:pass@/backups:rw,/shared
2025-02-14 17:32:50 +08:00
- '@/' # 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
#assets: ./assets/
2025-02-14 17:32:50 +08:00
log-format: '$remote_addr "$request" $status $http_user_agent'
log-file: ./dufs.log
compress: low
##tls-cert: tests/data/cert.pem
tls-key: tests/data/key_pkcs1.pem