Show all posts by user
Introduce yourselves
Page 1 of 1 Pages: 1
Results 1 - 2 of 2
I'm trying to set up a rule which is going to redirect only every second or third request only if the URL contains a specific string.
I did already the redirect based on a string in the URL but I can't find how to redirect only every second on third request:
if ($request_uri ~ .*.WHATEVER_STRING.*) {
if (this is the 2nd request than) {
rewrite ^/(.*) WHATEVER_UR
by
laszlo
-
Nginx Mailing List - English
Hi,
Thank you having me here! I'm an nginx enthusiast from Hungary.
I run nginx on Linux and FreeBSD.
Cheers,
Laszlo
by
laszlo
-
New Member Introductions