fuliai commited on
Commit
b68e715
1 Parent(s): a3828ac

Update config.yaml

Browse files
Files changed (1) hide show
  1. config.yaml +3 -3
config.yaml CHANGED
@@ -22,14 +22,14 @@ port: 7860
22
  autorunPortOverride: -1
23
  # -- SECURITY CONFIGURATION --
24
  # Toggle whitelist mode
25
- whitelistMode: true
26
  # Whitelist will also verify IP in X-Forwarded-For / X-Real-IP headers
27
  enableForwardedWhitelist: true
28
  # Whitelist of allowed IP addresses
29
  whitelist:
30
  - 0.0.0.0/0 # 允许所有 IPv4 地址访问
31
  # Toggle basic authentication for endpoints
32
- basicAuthMode: false
33
  # Basic authentication credentials
34
  basicAuthUser:
35
  username: "user"
@@ -37,7 +37,7 @@ basicAuthUser:
37
  # Enables CORS proxy middleware
38
  enableCorsProxy: false
39
  # Enable multi-user mode
40
- enableUserAccounts: true
41
  # Enable discreet login mode: hides user list on the login screen
42
  enableDiscreetLogin: false
43
  # User session timeout *in seconds* (defaults to 24 hours).
 
22
  autorunPortOverride: -1
23
  # -- SECURITY CONFIGURATION --
24
  # Toggle whitelist mode
25
+ whitelistMode: false
26
  # Whitelist will also verify IP in X-Forwarded-For / X-Real-IP headers
27
  enableForwardedWhitelist: true
28
  # Whitelist of allowed IP addresses
29
  whitelist:
30
  - 0.0.0.0/0 # 允许所有 IPv4 地址访问
31
  # Toggle basic authentication for endpoints
32
+ basicAuthMode: true
33
  # Basic authentication credentials
34
  basicAuthUser:
35
  username: "user"
 
37
  # Enables CORS proxy middleware
38
  enableCorsProxy: false
39
  # Enable multi-user mode
40
+ enableUserAccounts: false
41
  # Enable discreet login mode: hides user list on the login screen
42
  enableDiscreetLogin: false
43
  # User session timeout *in seconds* (defaults to 24 hours).