server { listen 80; location /downloads/ { limit_rate_after 1m; limit_rate 500k; } root /var/www/html; }