Hello Andrei. Thank you very much for your response but I cannot understand how I can take HTTP status 401 for a particular client into account with ngx_http_limit_req_module. I have some experience with ngx_http_limit_req_module: I limit the frequency of each client with $binary_remote_addr key. But I would like to set a stricter limit for those only who get HTTP status 401. I cannot understand how this can be done with ngx_http_limit_req_module.
Can you give an example configuration for this with limit_req_zone and limit_req? Thank you if you answer. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,270537,270840#msg-270840 _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx