loc-bigpost.conf

This commit is contained in:
Maxim Devaev 2022-08-27 03:01:47 +03:00
parent 6fe5fbd842
commit b2165a460c
3 changed files with 7 additions and 9 deletions

View File

@ -117,7 +117,7 @@ backup=(
etc/kvmd/{ht,ipmi,vnc}passwd
etc/kvmd/nginx/{kvmd.ctx-{http,server},certbot.ctx-server}.conf
etc/kvmd/nginx/listen-http{,s}.conf
etc/kvmd/nginx/loc-{login,nocache,proxy,websocket,nobuffering}.conf
etc/kvmd/nginx/loc-{login,nocache,proxy,websocket,nobuffering,bigpost}.conf
etc/kvmd/nginx/{mime-types,ssl,redirect-to-https,nginx}.conf
etc/kvmd/janus/janus{,.plugin.ustreamer,.transport.websockets}.jcfg
etc/kvmd/web.css

View File

@ -64,10 +64,7 @@ location /api/hid/print {
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;
include /etc/kvmd/nginx/loc-bigpost.conf;
auth_request off;
}
@ -96,10 +93,7 @@ location /api/msd/write {
rewrite ^/api/msd/write\?(.*)$ /msd/write?$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;
include /etc/kvmd/nginx/loc-bigpost.conf;
auth_request off;
}

View File

@ -0,0 +1,4 @@
limit_rate 6250k;
limit_rate_after 50k;
client_max_body_size 0;
proxy_request_buffering off;