Welcome! Log In Create A New Profile

Advanced

How to limit_req depending if the requests has a REFERER or not.

Micheal Wolfskill
April 01, 2012 09:32PM
Hello.

I have something like this... I need to be able to apply three different limit_req depending:

a.) If the referer to click.php is domain.com ... apply zone1
b.) If there is some other referer apply zone2 on click.php
c.) If there is no referer apply zone3 on click.php



location /click.php {
limit_req zone=one nodelay;
proxy_pass http://22.136.1.121:80/;
}

Mike
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to limit_req depending if the requests has a REFERER or not.

Micheal Wolfskill April 01, 2012 09:32PM

How to limit_req depending if the requests has a REFERER or not.

Micheal Wolfskill April 03, 2012 06:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 171
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready