1 Star 1 Fork 1

屈阿零 / 下载文件限制器

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md
module.exports = {
user: 'admin',
password: 'admin',
db: 'db',
dbuser: 'dbname',
dbpassword: 'dbpassword',
login: '/adminlogin',
loginmsg: '页面不存在',
secret: 'yoursecret',
files: 'gz|mp4|sh',
monthlimit: 30,
daylimit: 2
};
  • monthlimit 设置月度单 IP 下载限制。
  • daylimit 设置每日单 IP 下载限制。
  • files 设置监控后缀。

文件放在/public/download 中的,可被系统设置 files 后缀监控到。

  • 请默认设置 2 的倍数限制数,系统默认每个下载是计算两次请求,所以请设置 2 的倍数。

Repository Comments ( 0 )

Sign in to post a comment

About

No description expand collapse
Apache-2.0
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
1
https://gitee.com/quazero/download_file_limiter.git
git@gitee.com:quazero/download_file_limiter.git
quazero
download_file_limiter
下载文件限制器
master

Search