pikvm/pikvm#1631: Configurable allow_redirects

This commit is contained in:
Maxim Devaev 2026-03-03 14:36:31 +02:00
parent 898e18b5ee
commit 5fe9921664
1 changed files with 10 additions and 0 deletions

View File

@ -99,6 +99,16 @@ You can submit PiKVM credentials from another site and go directly to the KVM pa
<html>
```
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