Welcome to Centmin Mod Community
Become a Member

Nginx How to limit UPLOAD Speed on Nginx?

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by RoldanLT, Jan 21, 2018.

  1. RoldanLT

    RoldanLT Well-Known Member

    4,157
    1,007
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,421
    Local Time:
    4:53 PM
    1.11
    10.2
    limit_rate works fine with Download Speed (Server > Client).
    But doesn't work with Upload Speed (Client > Server).

    Only possible way is using this 4 years old module:
    Upload | NGINX
     
  2. eva2000

    eva2000 Administrator Staff Member

    33,733
    7,466
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,479
    Local Time:
    6:53 PM
    Nginx 1.13.x
    MariaDB 5.5
    what usage case you have that requires this ?
     
  3. RoldanLT

    RoldanLT Well-Known Member

    4,157
    1,007
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,421
    Local Time:
    4:53 PM
    1.11
    10.2
    I have this Upload/File Sharing site.
    With Traditional HDD not SSD.
    So I want to limit upload speed/files written on the disk simultaneously to avoid stressing it.
     
  4. eva2000

    eva2000 Administrator Staff Member

    33,733
    7,466
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,479
    Local Time:
    6:53 PM
    Nginx 1.13.x
    MariaDB 5.5
    Actually that upload module you linked to is 9yrs old Branches · vkholodkov/nginx-upload-module · GitHub so definitely not an option. Don't know of one for nginx off the top of my head unfortunately. Maybe something you need to code at the script coding level i.e. PHP
     
    • Like Like x 1
..