I have a server and there is a Nginx in front. There are many requests which
some of them contains special word example:

/posts/men/clouths

I have a whitelist ip file also. I want to write a rule in Nginx that if
requests contains "men", only allow the request if requester's ip is in
whitelist file. If requests does not contains "men" allow the request
anyway.

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,283256,283256#msg-283256

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to