Currently I have an application set up on AWS using application load balancer with 2 EC2 in target group:
DNS -> AWS-ALB -> EC2(2)
I need help allowing only certain IP addresses on the application URL context path.
For eg: www.abc.com should be accessible for all but www.abc.com/xyz should be accessible only to certain IP addresses.
I tried NGINX solution on EC2 and that works only when i hit the EC2 IP directly with allow and deny rules.