From 5fe992166468c19d28a5f2c00da101981a47c286 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Tue, 3 Mar 2026 14:36:31 +0200 Subject: [PATCH] pikvm/pikvm#1631: Configurable allow_redirects --- docs/api.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/api.md b/docs/api.md index e9853a11..3724196a 100644 --- a/docs/api.md +++ b/docs/api.md @@ -99,6 +99,16 @@ You can submit PiKVM credentials from another site and go directly to the KVM pa ``` +The `redirect` can't have any value but only one from the list `["", "/", "/kvm", "/kvm/"]` where an empty value means "no redirect". Since KVMD 4.152, this list is configurable via `/etc/kvmd/override.yaml`: + +```yaml +kvmd: + auth: + allow_redirects: ["/", "/kvm", "/kvm/"] +``` + +You can replace the entire list but please note that the empty line for "no redirect" is always available and cannot be disabled. + ----- ## WebSocket events