update config sample

This commit is contained in:
2026-08-12 15:57:41 +07:00
parent ffe36aa28f
commit e1fc25b447
+4 -7
View File
@@ -21,7 +21,7 @@ remote-management:
# All management requests (even from localhost) require this key. # All management requests (even from localhost) require this key.
# Leave empty to disable the Management API entirely (404 for all /v0/management routes). # Leave empty to disable the Management API entirely (404 for all /v0/management routes).
secret-key: "$2a$10$j0sh.ThQ3boIlkx0t1vw7uIeQWhGaGXTdJBG.uKilx2754MkPESUS" secret-key: "$2a$10$j0sh.ThQ3boIlkx0t1vw7uIeQWhGaGXTdJBG.uKilx2754MkPESUS"
# default password 123456
# Disable the bundled management control panel asset download and HTTP route when true. # Disable the bundled management control panel asset download and HTTP route when true.
disable-control-panel: false disable-control-panel: false
@@ -38,12 +38,9 @@ auth-dir: "~/.cli-proxy-api"
# API keys for authentication # API keys for authentication
api-keys: api-keys:
- "your-api-key-1"
- "your-api-key-2"
- "your-api-key-3"
# Enable debug logging # Enable debug logging
debug: false debug: true
# Enable pprof HTTP debug server (host:port). Keep it bound to localhost for safety. # Enable pprof HTTP debug server (host:port). Keep it bound to localhost for safety.
pprof: pprof:
@@ -54,7 +51,7 @@ pprof:
commercial-mode: false commercial-mode: false
# When true, write application logs to rotating files instead of stdout # When true, write application logs to rotating files instead of stdout
logging-to-file: false logging-to-file: true
# Maximum total size (MB) of log files under the logs directory. When exceeded, the oldest log # Maximum total size (MB) of log files under the logs directory. When exceeded, the oldest log
# files are deleted until within the limit. Set to 0 to disable. # files are deleted until within the limit. Set to 0 to disable.
@@ -65,7 +62,7 @@ logs-max-total-size-mb: 0
error-logs-max-files: 10 error-logs-max-files: 10
# When false, disable in-memory usage statistics aggregation # When false, disable in-memory usage statistics aggregation
usage-statistics-enabled: false usage-statistics-enabled: true
# How long (in seconds) Redis usage queue items are retained in memory for the RESP interface (LPOP/RPOP). # How long (in seconds) Redis usage queue items are retained in memory for the RESP interface (LPOP/RPOP).
# Default: 60. Max: 3600. # Default: 60. Max: 3600.