Nginx How to limit bandwidth nginx apache nginx php nginx rewrite

Source: Internet
Author: User
For example, I have a file storage server, bandwidth always keep up with the situation. The server can be configured with some configuration to reduce the bandwidth pressure. The cost savings are relative to the company. Look for the Nginx configuration for bandwidth operations.

Nginx provides limit_rate and limit_rate_after Details Query Nginx configuration Introduction

location/download/{limit_rate_after 500k;limit_rate 50k;}

The above configuration means. The user downloads up to 500k, then controls its speed within 50k. This way, the server bandwidth is reduced.

The above describes how nginx limits the bandwidth, including nginx content, I hope the PHP tutorial interested in a friend helpful.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.