limit_req_zone $binary_remote_addr zone=perip:10m rate=10r/m;
server {
location /api/signin {
limit_req zone=perip burst=5 nodelay;
}
}
参考
时间: 2024-10-21 08:46:23
limit_req_zone $binary_remote_addr zone=perip:10m rate=10r/m;
server {
location /api/signin {
limit_req zone=perip burst=5 nodelay;
}
}