diff options
Diffstat (limited to 'configs/nginx/kvmd.ctx-server.conf')
-rw-r--r-- | configs/nginx/kvmd.ctx-server.conf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configs/nginx/kvmd.ctx-server.conf b/configs/nginx/kvmd.ctx-server.conf index e34602e1..40fdcc3e 100644 --- a/configs/nginx/kvmd.ctx-server.conf +++ b/configs/nginx/kvmd.ctx-server.conf @@ -59,6 +59,18 @@ location /api/ws { 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 { rewrite ^/api/msd/read$ /msd/read break; rewrite ^/api/msd/read\?(.*)$ /msd/read?$1 break; |