Re: If statement with $limit_req_status under location block with proxy_pass not working

2022-08-09 Thread acidiclight
This worked great. Thank you for your help! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,294407,294929#msg-294929 ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: If statement with $limit_req_status under location block with proxy_pass not working

2022-06-03 Thread Maxim Dounin
Hello! On Thu, Jun 02, 2022 at 05:44:26PM -0400, acidiclight wrote: > I'm trying to customize my response to rate-limited requests by keeping > limit_req_dry_run on, and using an if statement depending on the value of > $limit_req_status: > > This works as expected: > > limit_req_zone $binary_r