mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
Add support for PiKVM Switch and related features
This commit introduces several new components and improvements: - Added Switch module with firmware update and configuration support - Implemented new media streaming capabilities - Updated various UI elements and CSS styles - Enhanced keyboard and mouse event handling - Added new validators and configuration options - Updated Python version support to 3.13 - Improved error handling and logging
This commit is contained in:
5
extras/media/manifest.yaml
Normal file
5
extras/media/manifest.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
name: Media
|
||||
description: KVMD Media Proxy
|
||||
path: media
|
||||
daemon: kvmd-media
|
||||
place: -1
|
||||
3
extras/media/nginx.ctx-http.conf
Normal file
3
extras/media/nginx.ctx-http.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
upstream media {
|
||||
server unix:/run/kvmd/media.sock fail_timeout=0s max_fails=0;
|
||||
}
|
||||
7
extras/media/nginx.ctx-server.conf
Normal file
7
extras/media/nginx.ctx-server.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
location /api/media/ws {
|
||||
rewrite ^/api/media/ws$ /ws break;
|
||||
rewrite ^/api/media/ws\?(.*)$ /ws?$1 break;
|
||||
proxy_pass http://media;
|
||||
include /etc/kvmd/nginx/loc-proxy.conf;
|
||||
include /etc/kvmd/nginx/loc-websocket.conf;
|
||||
}
|
||||
Reference in New Issue
Block a user