From 8eef719030f1ac46b5f80e9a545f2533d3c3e1ab Mon Sep 17 00:00:00 2001 From: Tony Tran Date: Sun, 2 Aug 2026 10:00:56 +0000 Subject: [PATCH] update config.example --- config.example.yaml | 15 +- static/management.html | 305 +++++++++++++---------------------------- 2 files changed, 103 insertions(+), 217 deletions(-) diff --git a/config.example.yaml b/config.example.yaml index d7d5a9f..06559d6 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -13,14 +13,15 @@ tls: # Management API settings remote-management: - # Whether to allow remote (non-localhost) management access. - # When false, only localhost can access management endpoints (a key is still required). - allow-remote: false +# Whether to allow remote (non-localhost) management access. +# When false, only localhost can access management endpoints (a key is still required). + allow-remote: true + +# Management key. If a plaintext value is provided here, it will be hashed on startup. +# 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" - # Management key. If a plaintext value is provided here, it will be hashed on startup. - # 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: "" # Disable the bundled management control panel asset download and HTTP route when true. disable-control-panel: false diff --git a/static/management.html b/static/management.html index 0b0de55..613e683 100644 --- a/static/management.html +++ b/static/management.html @@ -6,201 +6,86 @@ CLI Proxy API Management Center - -