Advanced server settings
A few server settings have no place in the web page: extra public host names, and how much history and activity log the wall keeps. Whoever runs the server changes them offline.
Change them
- Stop qKVM.
- Write a small JSON file,
server-settings.jsonsay:
{"allowed_hosts": ["kvm.example.com"], "history_days": 90, "history_mb": 200, "activity_mb": 100}
- As the account that runs qKVM, apply it with the server's storage key:
qkvm --data-dir /path/to/data --vault-key-file /path/to/private/vault.key --configure-server server-settings.json
- Start qKVM again.
The settings
| Setting | What it does | Default |
|---|---|---|
allowed_hosts | Public host names the wall answers to besides its own. Replaces the whole list; an empty list removes them all. | None |
history_days | Days of history kept | 90 |
history_mb | The most history kept, in MB | 200 |
activity_mb | The most activity log kept, in MB | 50 |
Rules
- Only these four fields are taken. Fields you leave out stay as they are.
- Write host names without a scheme, path, port or wildcard.
- The command refuses to run while qKVM runs on that folder, and checks both copies of the settings before it changes anything.
- It cannot change accounts, passwords, two-factor sign-in or permissions.
- Never edit
qkvm.jsonorqkvm.bakby hand: they are encrypted.
Names under ts.net need no entry: qKVM answers them already. See Over Tailscale or NetBird.