Home > other >  Nginx (openresty) do load balancing, how to configure the upstream speed limit
Nginx (openresty) do load balancing, how to configure the upstream speed limit

Time:09-29

Openresty as HTTP load balancer, need to configure the speed limit, descending speed is better solved, use limit_rate directly restrict, but how to restrict the upstream speed? Online looked rather by Nginx upload module (ngx_http_upload_module) module can limit, but in fact it's not an official module, also haven't updated. Another is to use ngx_stream_proxy_module module proxy_upload_rate parameter, but this can only be configured under the stream,

A bit, have what good method? Seek guidance, thank you.
  • Related