* feat(files): make files service supporting home dir * fix(files): add path access control and avoid redirecting path in the backend * feat(files): add ListHome API * fix(server): fix access control issues * feat(client/web): support multi-home * feat(server): cleanup * fix(server): failed to init admin folder
23 lines
No EOL
412 B
YAML
23 lines
No EOL
412 B
YAML
fs:
|
|
root: "tmp"
|
|
opensLimit: 128
|
|
openTTL: 60 # 1 min
|
|
secrets:
|
|
tokenSecret: ""
|
|
server:
|
|
debug: true
|
|
host: "0.0.0.0"
|
|
port: 8686
|
|
readTimeout: 2000
|
|
writerTimeout: 86400000 # 1 day
|
|
maxHeaderBytes: 512
|
|
publicPath: "public"
|
|
users:
|
|
enableAuth: true
|
|
defaultAdmin: ""
|
|
defaultAdminPwd: ""
|
|
cookieTTL: 604800 # 1 week
|
|
cookieSecure: false
|
|
cookieHttpOnly: true
|
|
minUserNameLen: 2
|
|
minPwdLen: 4 |