Configuration File
2024-12-16
Update history
Date | Version | Author | Update content |
---|---|---|---|
2024-8-13 | v0.1 | xwj |
|
The configuration file is located at /etc/kvm/server.yaml
.
The default configuration file content:
protocol: http
port:
http: 80
https: 443
cert:
crt: server.crt
key: server.key
- protocol: Network protocol, either
http
orhttps
- port: The port on which the service runs
- When the protocol is
http
, the service will use theport.http
port - When the protocol is
https
, the service will use theport.https
port - When the protocol is
https
, you need to prefix the address withhttps://
in the browser (e.g.,https://192.168.1.210
) - If you change the port, please include the port in the browser address. For example, if you change
port.http
to 8080, the browser address will be192.168.1.210:8080
- Do not set the port to 0. If the service detects the port is 0, it will override the current configuration file with the default settings
- When the protocol is
- cert: Service certificate. This parameter must be configured if the protocol is set to
https
- crt: Path to the certificate file
- key: Path to the private key file
Note: Enabling https
increases CPU usage, which may cause video stuttering.