Whitelist allow for specific requests Nginx
amirs
nginx-forum at forum.nginx.org
Sun Mar 3 15:54:02 UTC 2019
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
More information about the nginx
mailing list