File size: 1,445 Bytes
664654c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Server host/interface to bind to. Default is empty ("") to bind all interfaces (IPv4 + IPv6).
host: ""

# Server port - HF Spaces requires port 7860
port: 7860

# TLS settings for HTTPS. When enabled, the server listens with the provided certificate and key.
tls:
  enable: false
  cert: ""
  key: ""

# Management API settings
remote-management:
  # Whether to allow remote (non-localhost) management access.
  allow-remote: true

  # Management key. If a plaintext value is provided here, it will be hashed on startup.
  # Set via environment variable or update this for production use.
  secret-key: ""

  # Disable the bundled management control panel asset download and HTTP route when true.
  disable-control-panel: false

  # GitHub repository for the management control panel.
  panel-github-repository: "https://github.com/router-for-me/Cli-Proxy-API-Management-Center"

# Authentication directory
auth-dir: "/CLIProxyAPI/auths"

# API keys for authentication - add your keys here
api-keys:
  - "demo-key-change-in-production"

# Enable debug logging
debug: false

# Commercial mode for high concurrency
commercial-mode: false

# When true, write application logs to rotating files instead of stdout
logging-to-file: false

# Maximum total size (MB) of log files under the logs directory
logs-max-total-size-mb: 100

# Usage statistics
usage-statistics-enabled: false

# Request retry settings
request-retry: 3
max-retry-interval: 30