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