March 03, 2019 10:54AM
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.
Subject Author Posted

Whitelist allow for specific requests Nginx

amirs March 03, 2019 10:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 224
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready