mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-13 01:30:31 +08:00
loc-bigpost.conf
This commit is contained in:
parent
6fe5fbd842
commit
b2165a460c
2
PKGBUILD
2
PKGBUILD
@ -117,7 +117,7 @@ backup=(
|
|||||||
etc/kvmd/{ht,ipmi,vnc}passwd
|
etc/kvmd/{ht,ipmi,vnc}passwd
|
||||||
etc/kvmd/nginx/{kvmd.ctx-{http,server},certbot.ctx-server}.conf
|
etc/kvmd/nginx/{kvmd.ctx-{http,server},certbot.ctx-server}.conf
|
||||||
etc/kvmd/nginx/listen-http{,s}.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/nginx/{mime-types,ssl,redirect-to-https,nginx}.conf
|
||||||
etc/kvmd/janus/janus{,.plugin.ustreamer,.transport.websockets}.jcfg
|
etc/kvmd/janus/janus{,.plugin.ustreamer,.transport.websockets}.jcfg
|
||||||
etc/kvmd/web.css
|
etc/kvmd/web.css
|
||||||
|
|||||||
@ -64,10 +64,7 @@ location /api/hid/print {
|
|||||||
rewrite ^/api/hid/print\?(.*)$ /hid/print?$1 break;
|
rewrite ^/api/hid/print\?(.*)$ /hid/print?$1 break;
|
||||||
proxy_pass http://kvmd;
|
proxy_pass http://kvmd;
|
||||||
include /etc/kvmd/nginx/loc-proxy.conf;
|
include /etc/kvmd/nginx/loc-proxy.conf;
|
||||||
limit_rate 6250k;
|
include /etc/kvmd/nginx/loc-bigpost.conf;
|
||||||
limit_rate_after 50k;
|
|
||||||
client_max_body_size 0;
|
|
||||||
proxy_request_buffering off;
|
|
||||||
auth_request off;
|
auth_request off;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -96,10 +93,7 @@ location /api/msd/write {
|
|||||||
rewrite ^/api/msd/write\?(.*)$ /msd/write?$1 break;
|
rewrite ^/api/msd/write\?(.*)$ /msd/write?$1 break;
|
||||||
proxy_pass http://kvmd;
|
proxy_pass http://kvmd;
|
||||||
include /etc/kvmd/nginx/loc-proxy.conf;
|
include /etc/kvmd/nginx/loc-proxy.conf;
|
||||||
limit_rate 6250k;
|
include /etc/kvmd/nginx/loc-bigpost.conf;
|
||||||
limit_rate_after 50k;
|
|
||||||
client_max_body_size 0;
|
|
||||||
proxy_request_buffering off;
|
|
||||||
auth_request off;
|
auth_request off;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
4
configs/nginx/loc-bigpost.conf
Normal file
4
configs/nginx/loc-bigpost.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
limit_rate 6250k;
|
||||||
|
limit_rate_after 50k;
|
||||||
|
client_max_body_size 0;
|
||||||
|
proxy_request_buffering off;
|
||||||
Loading…
x
Reference in New Issue
Block a user