# 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