nginx limit req

limit_req_zone $binary_remote_addr zone=login:10m rate=1r/s;
limit_req zone=login burst=5;