filebrowser 初始配置
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
server:
|
||||
port: 80
|
||||
database: "/home/filebrowser/data/database.db"
|
||||
cacheDir: "/home/filebrowser/data/tmp"
|
||||
sources:
|
||||
- path: /srv
|
||||
config:
|
||||
defaultEnabled: true
|
||||
auth:
|
||||
methods:
|
||||
oidc:
|
||||
enabled: true
|
||||
clientId: "95a150cf-e376-4a2a-aec8-5bce1b518cb5"
|
||||
clientSecret: "CEKqBc8cT2bkH814rqbjJBJgtXbmiwCE"
|
||||
issuerUrl: "https://sso.140103.xyz"
|
||||
scopes: "email openid profile"
|
||||
userIdentifier: preferred_username
|
||||
disableVerifyTLS: false
|
||||
createUser: true # 首次登录自动创建用户
|
||||
password:
|
||||
enabled: true # 建议保留,万一 OIDC 出问题还能登
|
||||
Reference in New Issue
Block a user