mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
loc-bigpost.conf
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
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;
|
||||
Reference in New Issue
Block a user