mirror of https://github.com/pikvm/pikvm.git
pikvm/pikvm#1631: Configurable allow_redirects
This commit is contained in:
parent
898e18b5ee
commit
5fe9921664
10
docs/api.md
10
docs/api.md
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue