Page tree
Skip to end of metadata
Go to start of metadata
http {
    ...
    limit_req_zone $binary_remote_addr zone=suggestions:10m rate=20r/s;
    limit_req_status 429;
    ...
}
server {
    ...
    location /suggestions/ {
        proxy_pass http://suggestions;
        limit_req zone=suggestions burst=40 nodelay;
    }
    ...
}
  • No labels