From e1fc25b447953bb057a54065aa8acce6abb5b4be Mon Sep 17 00:00:00 2001 From: Tony Tran Date: Wed, 12 Aug 2026 15:57:41 +0700 Subject: [PATCH] update config sample --- config.example.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/config.example.yaml b/config.example.yaml index 06559d6..3d7f544 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -21,7 +21,7 @@ remote-management: # All management requests (even from localhost) require this key. # Leave empty to disable the Management API entirely (404 for all /v0/management routes). secret-key: "$2a$10$j0sh.ThQ3boIlkx0t1vw7uIeQWhGaGXTdJBG.uKilx2754MkPESUS" - +# default password 123456 # Disable the bundled management control panel asset download and HTTP route when true. disable-control-panel: false @@ -38,12 +38,9 @@ auth-dir: "~/.cli-proxy-api" # API keys for authentication api-keys: - - "your-api-key-1" - - "your-api-key-2" - - "your-api-key-3" # Enable debug logging -debug: false +debug: true # Enable pprof HTTP debug server (host:port). Keep it bound to localhost for safety. pprof: @@ -54,7 +51,7 @@ pprof: commercial-mode: false # 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 # 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 # 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). # Default: 60. Max: 3600.