# nginx 限流

# nginx 限流

http {
  limit_req_zone $binary_remote_addr zone=one:10m rate=5r/s;
  ...
  server {
    ...
    location / {
      ...
      limit_req zone=one burst=5 nodelay;
    }
  }
}
最后更新: Mon, 29 Jan 2024 14:20:15 GMT

0 评论

加载中...
访问量:-