diff options
author | Maxim Devaev <[email protected]> | 2022-08-27 02:56:13 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-08-27 02:56:13 +0300 |
commit | 6fe5fbd84258661dd3dbe11587dc9959ae8bacb7 (patch) | |
tree | 7faae2e1525e822fe2304c274e7fac3c8ecc9b50 | |
parent | e364d7f8df9a05c3efc3b756e6764501ffdc618e (diff) |
removed body limit for /api/hid/print
-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; |