I am trying to accomplice the following in an NSX Load balancer (The NSX documentation refers to HAproxy so I’m asking here :
I have a website - www.website.com/cloud in the /cloud there is an admin interface which I want to restrict access to with a whitelist.
Sites AFTER /Cloud/ shouln’t be blocked - so all other sites on “website.com/cloud/*” should be accessible to all
If I use this rule below, it works - but blocks everything that contains cloud:
acl is_cloud path_beg -i /cloud/
acl whitelist src [IP ADRESSES]
block if is_cloud !whitelist
Is i possible to block access only /cloud/" and not all other sites?