摘要:需求 统计静态文件的下载次数; 判断用户是否有下载权限; 根据用户指定下载速度; 根据Referer判断是否需要防盗链; 根据用户属性限制下载速度; X-Accel-Redirect This allows you to handle authentication, logging or whate
阅读全文
随笔分类 - nginx
摘要:命令 windiws启动nginx命令:start nginx sudo nginx #打开 nginx nginx -s reload|reopen|stop|quit #重新加载配置|重启|停止|退出 nginx nginx -t #测试配置是否有语法错误 nginx [-?hvVtq] [-s
阅读全文