mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
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
8 lines
220 B
Plaintext
8 lines
220 B
Plaintext
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;
|
|
}
|