mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
/msd/write_remote handle
This commit is contained in:
@@ -59,6 +59,18 @@ location /api/ws {
|
||||
auth_request off;
|
||||
}
|
||||
|
||||
location /api/msd/write_remote {
|
||||
rewrite ^/api/msd/write_remote$ /msd/write_remote break;
|
||||
rewrite ^/api/msd/write_remote\?(.*)$ /msd/write_remote?$1 break;
|
||||
proxy_pass http://kvmd;
|
||||
include /etc/kvmd/nginx/loc-proxy.conf;
|
||||
proxy_read_timeout 7d;
|
||||
postpone_output 0;
|
||||
proxy_buffering off;
|
||||
proxy_ignore_headers X-Accel-Buffering;
|
||||
auth_request off;
|
||||
}
|
||||
|
||||
location /api/msd/write {
|
||||
rewrite ^/api/msd/write$ /msd/write break;
|
||||
rewrite ^/api/msd/write\?(.*)$ /msd/write?$1 break;
|
||||
|
||||
Reference in New Issue
Block a user