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

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

2022-06-02 Thread acidiclight
Hello, 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_remote_addr zone=one:1m rate=2r/m; server { listen 80; se