mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
removed body limit for /api/hid/print
This commit is contained in:
parent
e364d7f8df
commit
6fe5fbd842
@ -59,6 +59,18 @@ location /api/ws {
|
|||||||
auth_request off;
|
auth_request off;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /api/hid/print {
|
||||||
|
rewrite ^/api/hid/print$ /hid/print break;
|
||||||
|
rewrite ^/api/hid/print\?(.*)$ /hid/print?$1 break;
|
||||||
|
proxy_pass http://kvmd;
|
||||||
|
include /etc/kvmd/nginx/loc-proxy.conf;
|
||||||
|
limit_rate 6250k;
|
||||||
|
limit_rate_after 50k;
|
||||||
|
client_max_body_size 0;
|
||||||
|
proxy_request_buffering off;
|
||||||
|
auth_request off;
|
||||||
|
}
|
||||||
|
|
||||||
location /api/msd/read {
|
location /api/msd/read {
|
||||||
rewrite ^/api/msd/read$ /msd/read break;
|
rewrite ^/api/msd/read$ /msd/read break;
|
||||||
rewrite ^/api/msd/read\?(.*)$ /msd/read?$1 break;
|
rewrite ^/api/msd/read\?(.*)$ /msd/read?$1 break;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user